infomat.algorithms.grouping
Class IVectorCategorizer

java.lang.Object
  extended by infomat.algorithms.grouping.GroupingAlgorithm
      extended by infomat.algorithms.grouping.IVectorCategorizer
All Implemented Interfaces:
NeedsSparseISimilarity, HasProperties, UniqueIdentifiable

public class IVectorCategorizer
extends GroupingAlgorithm
implements NeedsSparseISimilarity

IVectorCategorizer


Field Summary
static int ivectorCategorizerGroupingNumber
           
private  SparseISimilarity similarity
           
private  java.util.Vector<IVector<IVectorIndex>> vectors
           
 
Fields inherited from class infomat.algorithms.grouping.GroupingAlgorithm
identifier, printGroupSizesInIterations, properties
 
Constructor Summary
IVectorCategorizer()
           
IVectorCategorizer(Properties properties)
           
IVectorCategorizer(SparseISimilarity similarity, java.util.Vector<IVector<IVectorIndex>> vectors)
           
IVectorCategorizer(SparseISimilarity similarity, java.util.Vector<IVector<IVectorIndex>> vectors, Properties properties)
           
 
Method Summary
 IObjectGrouping cluster(IObjectGroup iogroup)
          Clusters the IObjectGroup.
 IObjectGrouping cluster(IObjectSet ioset)
          Clusters the entire IObjectSet.
 java.lang.String getAlgorithmName()
           
 Properties getDefaultProperties()
           
 java.lang.String getInfoString()
           
 Properties getProperties()
           
 java.lang.Object getPropertyValue(java.lang.String name)
           
 java.util.Vector getPropertyVector()
           
 UniqueIdentifier getUniqueIdentifier()
           
 void setProperties(Properties properties)
           
 void setProperty(java.lang.String name, java.lang.Object value)
           
 void setSimilarity(SparseISimilarity similarity)
           
 void setUniqueIdentifier(UniqueIdentifier uniqueIdentifier)
           
 
Methods inherited from class infomat.algorithms.grouping.GroupingAlgorithm
printGroup, printGroupSizes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ivectorCategorizerGroupingNumber

public static int ivectorCategorizerGroupingNumber

similarity

private SparseISimilarity similarity

vectors

private java.util.Vector<IVector<IVectorIndex>> vectors
Constructor Detail

IVectorCategorizer

public IVectorCategorizer()

IVectorCategorizer

public IVectorCategorizer(Properties properties)

IVectorCategorizer

public IVectorCategorizer(SparseISimilarity similarity,
                          java.util.Vector<IVector<IVectorIndex>> vectors)

IVectorCategorizer

public IVectorCategorizer(SparseISimilarity similarity,
                          java.util.Vector<IVector<IVectorIndex>> vectors,
                          Properties properties)
Method Detail

getDefaultProperties

public Properties getDefaultProperties()
Specified by:
getDefaultProperties in interface HasProperties

setSimilarity

public void setSimilarity(SparseISimilarity similarity)
Specified by:
setSimilarity in interface NeedsSparseISimilarity

cluster

public IObjectGrouping cluster(IObjectSet ioset)
Description copied from class: GroupingAlgorithm
Clusters the entire IObjectSet. Stores the clustering in the IObjectSet.

Specified by:
cluster in class GroupingAlgorithm

cluster

public IObjectGrouping cluster(IObjectGroup iogroup)
Description copied from class: GroupingAlgorithm
Clusters the IObjectGroup. Does not store the result.

Specified by:
cluster in class GroupingAlgorithm

getInfoString

public java.lang.String getInfoString()
Specified by:
getInfoString in class GroupingAlgorithm

getAlgorithmName

public java.lang.String getAlgorithmName()
Specified by:
getAlgorithmName in class GroupingAlgorithm

getPropertyVector

public java.util.Vector getPropertyVector()
Specified by:
getPropertyVector in class GroupingAlgorithm

getPropertyValue

public java.lang.Object getPropertyValue(java.lang.String name)
Specified by:
getPropertyValue in interface HasProperties

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)
                 throws PropertyNotFoundException
Specified by:
setProperty in interface HasProperties
Throws:
PropertyNotFoundException

getProperties

public Properties getProperties()
Specified by:
getProperties in interface HasProperties

setProperties

public void setProperties(Properties properties)
Specified by:
setProperties in interface HasProperties

getUniqueIdentifier

public UniqueIdentifier getUniqueIdentifier()
Specified by:
getUniqueIdentifier in interface UniqueIdentifiable

setUniqueIdentifier

public void setUniqueIdentifier(UniqueIdentifier uniqueIdentifier)
Specified by:
setUniqueIdentifier in interface UniqueIdentifiable