Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

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

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.logging.AbstractLoggable
      extended by de.lmu.ifi.dbs.elki.algorithm.result.AbstractResult<O>
          extended by de.lmu.ifi.dbs.elki.algorithm.result.clustering.HierarchicalClusters<HierarchicalCASHCluster,ParameterizationFunction>
              extended by de.lmu.ifi.dbs.elki.algorithm.result.clustering.HierarchicalCASHClusters
All Implemented Interfaces:
Result<ParameterizationFunction>, Loggable

public class HierarchicalCASHClusters
extends HierarchicalClusters<HierarchicalCASHCluster,ParameterizationFunction>

Provides a result of the CASH clustering algorithm that computes hierarchical correlation clusters in arbitrary subspaces.

Author:
Elke Achtert

Field Summary
static String INTERVAL
          Indicating the interval of a cluster in the string representation.
 
Fields inherited from class de.lmu.ifi.dbs.elki.algorithm.result.clustering.HierarchicalClusters
CHILDREN, LEVEL, LEVEL_INDEX, PARENTS
 
Fields inherited from class de.lmu.ifi.dbs.elki.algorithm.result.AbstractResult
db, FILE_EXTENSION
 
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debug
 
Fields inherited from interface de.lmu.ifi.dbs.elki.algorithm.result.Result
SEPARATOR
 
Constructor Summary
HierarchicalCASHClusters(HierarchicalCASHCluster rootCluster, Database<ParameterizationFunction> db)
          Provides a result of a clustering algorithm that computes correlation clusters in arbitrary subspaces.
 
Method Summary
 HierarchicalCASHCluster getRootCluster()
          Returns the root cluster.
protected  void writeHeader(PrintStream out, List<AttributeSettings> settings, List<String> headerInformation, HierarchicalCASHCluster cluster)
          Writes a header for the specified cluster providing information concerning the underlying database and the specified parameter-settings.
 
Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.result.clustering.HierarchicalClusters
getRootClusters, output, output
 
Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.result.AbstractResult
getDatabase, writeHeader
 
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTERVAL

public static String INTERVAL
Indicating the interval of a cluster in the string representation.

Constructor Detail

HierarchicalCASHClusters

public HierarchicalCASHClusters(HierarchicalCASHCluster rootCluster,
                                Database<ParameterizationFunction> db)
Provides a result of a clustering algorithm that computes correlation clusters in arbitrary subspaces.

Parameters:
rootCluster - the root cluster
db - the database containing the objects of the clusters
Method Detail

getRootCluster

public HierarchicalCASHCluster getRootCluster()
Returns the root cluster.

Returns:
the root cluster

writeHeader

protected void writeHeader(PrintStream out,
                           List<AttributeSettings> settings,
                           List<String> headerInformation,
                           HierarchicalCASHCluster cluster)
Writes a header for the specified cluster providing information concerning the underlying database and the specified parameter-settings.

Overrides:
writeHeader in class HierarchicalClusters<HierarchicalCASHCluster,ParameterizationFunction>
Parameters:
out - the print stream where to write
settings - the settings to be written into the header
headerInformation - additional information to be printed in the header, each entry will be printed in one separate line
cluster - the cluster to write the header for

Release 0.1 (2008-07-10_1838)