|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.logging.AbstractLoggable de.lmu.ifi.dbs.elki.algorithm.result.clustering.HierarchicalCluster<HierarchicalCorrelationCluster<V>> de.lmu.ifi.dbs.elki.algorithm.result.clustering.HierarchicalCorrelationCluster<V>
V
- the type of RealVector handled by this Resultpublic class HierarchicalCorrelationCluster<V extends RealVector<V,?>>
Provides a hierarchical correlation cluster in an arbitrary subspace that holds the PCA, the ids of the objects belonging to this cluster and the children and parents of this cluster.
Field Summary | |
---|---|
private V |
centroid
The centroid of this cluster. |
private LocalPCA<V> |
pca
The PCA of this cluster. |
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
---|
debug |
Constructor Summary | |
---|---|
HierarchicalCorrelationCluster(LocalPCA<V> pca,
Set<Integer> ids,
List<HierarchicalCorrelationCluster<V>> children,
List<HierarchicalCorrelationCluster<V>> parents,
String label,
int level,
int levelIndex)
Provides a hierarchical correlation cluster in an arbitrary subspace that holds the basis vectors of this cluster, the similarity matrix for distance computations, the ids of the objects belonging to this cluster and the children and parents of this cluster. |
|
HierarchicalCorrelationCluster(LocalPCA<V> pca,
Set<Integer> ids,
String label,
int level,
int levelIndex)
Provides a new hierarchical correlation cluster with the specified parameters. |
Method Summary | |
---|---|
V |
getCentroid()
Returns the centroid of this cluster. |
LocalPCA<V> |
getPCA()
Returns the PCA of this cluster. |
int |
hashCode()
Returns a hash code value for this cluster. |
void |
setCentroid(V centroid)
Sets the centroid of this cluster. |
Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.result.clustering.HierarchicalCluster |
---|
addChild, addID, addIDs, addParent, compareTo, equals, getChild, getChildren, getIDs, getLabel, getLevel, getLevelIndex, getParent, getParents, numChildren, numParents, removeID, setLabel, setLevel, setLevelIndex, toString |
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
---|
debugFine, debugFiner, debugFinest, exception, message, progress, progress, progress, verbose, verbose, warning |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final LocalPCA<V extends RealVector<V,?>> pca
private V extends RealVector<V,?> centroid
Constructor Detail |
---|
public HierarchicalCorrelationCluster(LocalPCA<V> pca, Set<Integer> ids, String label, int level, int levelIndex)
pca
- the PCA of this clusterids
- the ids of the objects belonging to this clusterlabel
- the label of this clusterlevel
- the level of this cluster in the graphlevelIndex
- the index of this cluster within the levelpublic HierarchicalCorrelationCluster(LocalPCA<V> pca, Set<Integer> ids, List<HierarchicalCorrelationCluster<V>> children, List<HierarchicalCorrelationCluster<V>> parents, String label, int level, int levelIndex)
pca
- the PCA of this clusterids
- the ids of the objects belonging to this clusterchildren
- the list of children of this clusterparents
- the list of parents of this clusterlabel
- the label of this clusterlevel
- the level of this cluster in the graphlevelIndex
- the index of this cluster within the levelMethod Detail |
---|
public LocalPCA<V> getPCA()
public int hashCode()
hashCode
in class Object
public void setCentroid(V centroid)
centroid
- the centroid to be setpublic V getCentroid()
|
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |