infomat.algorithms.grouping
Class IVectorCategorizer
java.lang.Object
infomat.algorithms.grouping.GroupingAlgorithm
infomat.algorithms.grouping.IVectorCategorizer
- All Implemented Interfaces:
- NeedsSparseISimilarity, HasProperties, UniqueIdentifiable
public class IVectorCategorizer
- extends GroupingAlgorithm
- implements NeedsSparseISimilarity
IVectorCategorizer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ivectorCategorizerGroupingNumber
public static int ivectorCategorizerGroupingNumber
similarity
private SparseISimilarity similarity
vectors
private java.util.Vector<IVector<IVectorIndex>> vectors
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)
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