de.lmu.ifi.dbs.elki.algorithm.result.clustering
Class HierarchicalCASHClusters
java.lang.Object
de.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.algorithm.result.AbstractResult<O>
de.lmu.ifi.dbs.elki.algorithm.result.clustering.HierarchicalClusters<HierarchicalCASHCluster,ParameterizationFunction>
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 interface de.lmu.ifi.dbs.elki.algorithm.result.Result |
SEPARATOR |
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 |
INTERVAL
public static String INTERVAL
- Indicating the interval of a cluster in the string representation.
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 clusterdb
- the database containing the objects of the clusters
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 writesettings
- the settings to be written into the headerheaderInformation
- additional information to be printed in the header, each entry
will be printed in one separate linecluster
- the cluster to write the header for