Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.algorithm.result.clustering
Class HierarchicalCASHCluster

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.logging.AbstractLoggable
      extended by de.lmu.ifi.dbs.elki.algorithm.result.clustering.HierarchicalCluster<HierarchicalCASHCluster>
          extended by de.lmu.ifi.dbs.elki.algorithm.result.clustering.HierarchicalCASHCluster
All Implemented Interfaces:
Loggable, Enumeratable<HierarchicalCASHCluster>, Comparable<HierarchicalCASHCluster>

public class HierarchicalCASHCluster
extends HierarchicalCluster<HierarchicalCASHCluster>

Provides a hierarchical correlation in an arbitrary subspace which is determined by the CASH algorithm that holds the interval of angles, the ids of the objects belonging to this cluster and the children and parents of this cluster.

Author:
Elke Achtert

Field Summary
private  int corrdim
          The correlation dimensionality of this cluster.
private  CASHInterval interval
          The interval of this cluster.
 
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debug
 
Constructor Summary
HierarchicalCASHCluster(CASHInterval interval, int corrDim, Set<Integer> ids, List<HierarchicalCASHCluster> children, List<HierarchicalCASHCluster> 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.
HierarchicalCASHCluster(CASHInterval interval, int corrDim, Set<Integer> ids, String label, int level, int levelIndex)
          Provides a new hierarchical correlation cluster with the specified parameters.
 
Method Summary
 int getCorrdim()
          Returns the correlation dimensionality of this cluster.
 CASHInterval getInterval()
          Returns the interval of this cluster.
 int hashCode()
          Returns a hash code value for 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

interval

private final CASHInterval interval
The interval of this cluster.


corrdim

private final int corrdim
The correlation dimensionality of this cluster.

Constructor Detail

HierarchicalCASHCluster

public HierarchicalCASHCluster(CASHInterval interval,
                               int corrDim,
                               Set<Integer> ids,
                               String label,
                               int level,
                               int levelIndex)
Provides a new hierarchical correlation cluster with the specified parameters.

Parameters:
interval - the interval of this cluster
corrDim - the correlation dimensionality of this cluster
ids - the ids of the objects belonging to this cluster
label - the label of this cluster
level - the level of this cluster in the graph
levelIndex - the index of this cluster within the level

HierarchicalCASHCluster

public HierarchicalCASHCluster(CASHInterval interval,
                               int corrDim,
                               Set<Integer> ids,
                               List<HierarchicalCASHCluster> children,
                               List<HierarchicalCASHCluster> 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.

Parameters:
interval - the interval of this cluster
corrDim - the correlation dimensionality of this cluster
ids - the ids of the objects belonging to this cluster
children - the list of children of this cluster
parents - the list of parents of this cluster
label - the label of this cluster
level - the level of this cluster in the graph
levelIndex - the index of this cluster within the level
Method Detail

getInterval

public CASHInterval getInterval()
Returns the interval of this cluster.

Returns:
the interval of this cluster

getCorrdim

public int getCorrdim()
Returns the correlation dimensionality of this cluster.

Returns:
the correlation dimensionality of this cluster

hashCode

public int hashCode()
Returns a hash code value for this cluster.

Overrides:
hashCode in class Object
Returns:
a hash code value for this cluster

Release 0.1 (2008-07-10_1838)