infomat.algorithms.description
Class CentroidRankingBoostDescriber

java.lang.Object
  extended by infomat.algorithms.description.Describer
      extended by infomat.algorithms.description.CentroidRankingBoostDescriber
All Implemented Interfaces:
HasProperties

public class CentroidRankingBoostDescriber
extends Describer

Constructs ILabels for IObjectGroups.


Field Summary
 
Fields inherited from class infomat.algorithms.description.Describer
properties
 
Constructor Summary
CentroidRankingBoostDescriber()
           
 
Method Summary
 java.util.HashMap<IObjectGroup,IVector<IVectorIndex>> describeGrouping(IObjectGrouping ioging, SparseISimilarity similarity)
          Only works for flat clusterings yet.
 Properties getDefaultProperties()
           
 java.lang.String getName()
           
 Properties getProperties()
           
 java.lang.Object getPropertyValue(java.lang.String name)
           
 java.util.Vector getPropertyVector()
           
private  IVector<IVectorIndex> rankLog(IVector<IVectorIndex> ivec)
           
 void setProperties(Properties properties)
           
 void setProperty(java.lang.String name, java.lang.Object value)
           
private static
<T extends IVectorIndex>
IVector<T>
subtract(IVector<T> termLarge, IVector<T> termSmall)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CentroidRankingBoostDescriber

public CentroidRankingBoostDescriber()
Method Detail

getDefaultProperties

public Properties getDefaultProperties()

rankLog

private IVector<IVectorIndex> rankLog(IVector<IVectorIndex> ivec)

subtract

private static <T extends IVectorIndex> IVector<T> subtract(IVector<T> termLarge,
                                                            IVector<T> termSmall)

describeGrouping

public java.util.HashMap<IObjectGroup,IVector<IVectorIndex>> describeGrouping(IObjectGrouping ioging,
                                                                              SparseISimilarity similarity)
Only works for flat clusterings yet.

Specified by:
describeGrouping in class Describer

getName

public java.lang.String getName()
Specified by:
getName in class Describer

getPropertyVector

public java.util.Vector getPropertyVector()

getPropertyValue

public java.lang.Object getPropertyValue(java.lang.String name)

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)
                 throws PropertyNotFoundException
Throws:
PropertyNotFoundException

getProperties

public Properties getProperties()

setProperties

public void setProperties(Properties properties)