infomat.algorithms.labeling
Class CentroidRankingBoostLabeler

java.lang.Object
  extended by infomat.algorithms.labeling.Labeler
      extended by infomat.algorithms.labeling.CentroidRankingBoostLabeler
All Implemented Interfaces:
HasProperties

public class CentroidRankingBoostLabeler
extends Labeler

Constructs ILabels for IObjectGroups.


Field Summary
 
Fields inherited from class infomat.algorithms.labeling.Labeler
properties
 
Constructor Summary
CentroidRankingBoostLabeler()
           
 
Method Summary
 Properties getDefaultProperties()
           
 Properties getProperties()
           
 java.lang.Object getPropertyValue(java.lang.String name)
           
private  ILabel labelGroup(IObjectGroup iog, SparseISimilarity similarity, java.util.HashMap<IObject,java.lang.Float> wholeGroupingWeightOrderMap)
          Can not be used separately, since it relyes on having information on the parent group.
 java.util.HashMap<IObjectGroup,ILabel> labelGrouping(IObjectGrouping ioging, SparseISimilarity similarity)
           
 void setProperties(Properties properties)
           
 void setProperty(java.lang.String name, java.lang.Object value)
           
 
Methods inherited from class infomat.algorithms.labeling.Labeler
getSortedGroupRepresentation, printLabeling, printLabeling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CentroidRankingBoostLabeler

public CentroidRankingBoostLabeler()
Method Detail

getDefaultProperties

public Properties getDefaultProperties()

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)

labelGroup

private ILabel labelGroup(IObjectGroup iog,
                          SparseISimilarity similarity,
                          java.util.HashMap<IObject,java.lang.Float> wholeGroupingWeightOrderMap)
Can not be used separately, since it relyes on having information on the parent group.


labelGrouping

public java.util.HashMap<IObjectGroup,ILabel> labelGrouping(IObjectGrouping ioging,
                                                            SparseISimilarity similarity)
Specified by:
labelGrouping in class Labeler