Class ClusterDensityMergeHistory


  • public class ClusterDensityMergeHistory
    extends ClusterMergeHistory
    Hierarchical clustering merge list, with additional coredists information.
    Since:
    0.8.0
    Author:
    Erich Schubert
    • 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 ids
        merges - Merge history 2*(N-1) values
        distances - Distances
        sizes - Cluster sizes
        isSquared - If distances are squared distances
        coredists - Density information
    • Method Detail

      • getCoreDistanceStore

        public DoubleDataStore getCoreDistanceStore()
        Get the core distances
        Returns:
        Core distances