Class AgglomerativeClustering.ClusterNode

  • Enclosing class:
    AgglomerativeClustering

    public static class AgglomerativeClustering.ClusterNode
    extends java.lang.Object
    Tree structure for containing information about linkages and distances.
    Author:
    thomas.jungblut
    • Method Detail

      • getMean

        public de.jungblut.math.DoubleVector getMean()
        Returns:
        the mean between the two children. Used for distance calculations at merging time.
      • getSplitDistance

        public double getSplitDistance()
        Returns:
        the distance between left and right cluster. (Based on their means).
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object