|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object infomat.algorithms.grouping.GroupingAlgorithm infomat.algorithms.grouping.RelativeClusterer
public class RelativeClusterer
The similarity should be the one for the other dimension! The other IObjectGrouping should be along the other dimension.
Field Summary | |
---|---|
private IMatrix |
matrix
|
(package private) IObjectGrouping |
otherIObjectGrouping
|
private static int |
relativeClusteringNumber
|
private boolean |
row
|
private SparseISimilarity |
similarity
|
Fields inherited from class infomat.algorithms.grouping.GroupingAlgorithm |
---|
identifier, printGroupSizesInIterations, properties |
Constructor Summary | |
---|---|
RelativeClusterer()
|
Method Summary | |
---|---|
IObjectGrouping |
cluster(IObjectGroup iogroup)
The algorithm clusters the opposite dimension specified in the ISimilarity. |
java.lang.String |
getAlgorithmName()
|
Properties |
getDefaultProperties()
|
IMatrix |
getIMatrix()
Returns the actual IMatrix. |
boolean |
getIMatrixDimension()
Returns a boolean that indicates wether the algorithm should consider rows or columns of a matrix. |
java.lang.String |
getInfoString()
|
Properties |
getProperties()
|
java.lang.Object |
getPropertyValue(java.lang.String name)
|
java.util.Vector |
getPropertyVector()
|
UniqueIdentifier |
getUniqueIdentifier()
|
private IObjectGrouping |
makeWeightGroupingRelativeGroupingOfOtherSet(IObjectGroup iogroup,
IObjectGrouping grouping,
ISimilarity similarity)
|
void |
setIMatrix(IMatrix matrix)
Sets the IMatrix. |
void |
setIMatrixDimension(boolean row)
Sets a boolean that indicates wether the algorithm should consider rows or columns of a matrix. |
void |
setOtherIObjectGrouping(IObjectGrouping grouping)
|
void |
setProperties(Properties properties)
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
|
void |
setSimilarity(SparseISimilarity similarity)
The similarity should be the one for the other dimension! |
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 |
---|
private static int relativeClusteringNumber
private SparseISimilarity similarity
private IMatrix matrix
private boolean row
IObjectGrouping otherIObjectGrouping
Constructor Detail |
---|
public RelativeClusterer()
Method Detail |
---|
public Properties getDefaultProperties()
getDefaultProperties
in interface HasProperties
public IObjectGrouping cluster(IObjectGroup iogroup)
cluster
in class GroupingAlgorithm
private IObjectGrouping makeWeightGroupingRelativeGroupingOfOtherSet(IObjectGroup iogroup, IObjectGrouping grouping, ISimilarity similarity)
public void setSimilarity(SparseISimilarity similarity)
setSimilarity
in interface NeedsSparseISimilarity
public java.lang.String getInfoString()
getInfoString
in class GroupingAlgorithm
public java.lang.String getAlgorithmName()
getAlgorithmName
in class GroupingAlgorithm
public java.util.Vector getPropertyVector()
getPropertyVector
in class GroupingAlgorithm
public java.lang.Object getPropertyValue(java.lang.String name)
getPropertyValue
in interface HasProperties
public void setProperty(java.lang.String name, java.lang.Object value) throws PropertyNotFoundException
setProperty
in interface HasProperties
PropertyNotFoundException
public Properties getProperties()
getProperties
in interface HasProperties
public void setProperties(Properties properties)
setProperties
in interface HasProperties
public UniqueIdentifier getUniqueIdentifier()
getUniqueIdentifier
in interface UniqueIdentifiable
public void setUniqueIdentifier(UniqueIdentifier uniqueIdentifier)
setUniqueIdentifier
in interface UniqueIdentifiable
public void setIMatrix(IMatrix matrix)
NeedsIMatrix
setIMatrix
in interface NeedsIMatrix
public IMatrix getIMatrix()
NeedsIMatrix
getIMatrix
in interface NeedsIMatrix
public void setIMatrixDimension(boolean row)
NeedsIMatrixDimension
setIMatrixDimension
in interface NeedsIMatrixDimension
public boolean getIMatrixDimension()
NeedsIMatrixDimension
getIMatrixDimension
in interface NeedsIMatrixDimension
public void setOtherIObjectGrouping(IObjectGrouping grouping)
setOtherIObjectGrouping
in interface NeedsOtherIObjectGrouping
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |