infomat.algorithms.labeling
Class WeightRankingBoostLabeler

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

public class WeightRankingBoostLabeler
extends Labeler

Constructs ILabels for IObjectGroups.


Field Summary
private  IMatrix matrix
           
private  boolean row
           
private  Weighter weighter
           
 
Fields inherited from class infomat.algorithms.labeling.Labeler
properties
 
Constructor Summary
WeightRankingBoostLabeler(Properties properties, Weighter weighter, IMatrix matrix, boolean row)
           
WeightRankingBoostLabeler(Weighter weighter, IMatrix matrix, boolean row)
           
 
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, Weighter weighter)
          Can not be used separately, since it relyes on having information on the whole set.
 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
 

Field Detail

weighter

private Weighter weighter

matrix

private IMatrix matrix

row

private boolean row
Constructor Detail

WeightRankingBoostLabeler

public WeightRankingBoostLabeler(Weighter weighter,
                                 IMatrix matrix,
                                 boolean row)

WeightRankingBoostLabeler

public WeightRankingBoostLabeler(Properties properties,
                                 Weighter weighter,
                                 IMatrix matrix,
                                 boolean row)
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,
                          Weighter weighter)
Can not be used separately, since it relyes on having information on the whole set.


labelGrouping

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