Package elki.clustering.hierarchical
Class ClusterDensityMergeHistory
- java.lang.Object
-
- elki.clustering.hierarchical.ClusterMergeHistory
-
- elki.clustering.hierarchical.ClusterDensityMergeHistory
-
public class ClusterDensityMergeHistory extends ClusterMergeHistory
Hierarchical clustering merge list, with additional coredists information.- Since:
- 0.8.0
- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected DoubleDataStore
coredists
Core distance information.
-
Constructor Summary
Constructors Constructor Description ClusterDensityMergeHistory(ArrayDBIDs ids, int[] merges, double[] distances, int[] sizes, boolean isSquared, DoubleDataStore coredists)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoubleDataStore
getCoreDistanceStore()
Get the core distances-
Methods inherited from class elki.clustering.hierarchical.ClusterMergeHistory
assignVar, getDBIDs, getMergeA, getMergeB, getMergeHeight, getPositions, getSize, isSquared, numMerges, size
-
-
-
-
Field Detail
-
coredists
protected DoubleDataStore coredists
Core distance information.
-
-
Constructor Detail
-
ClusterDensityMergeHistory
public ClusterDensityMergeHistory(ArrayDBIDs ids, int[] merges, double[] distances, int[] sizes, boolean isSquared, DoubleDataStore coredists)
Constructor.- Parameters:
ids
- Initial object idsmerges
- Merge history 2*(N-1) valuesdistances
- Distancessizes
- Cluster sizesisSquared
- If distances are squared distancescoredists
- Density information
-
-
Method Detail
-
getCoreDistanceStore
public DoubleDataStore getCoreDistanceStore()
Get the core distances- Returns:
- Core distances
-
-