Package pal.tree

Interface ClusterTree.ClusteringMethod

  • Enclosing class:
    ClusterTree

    public static interface ClusterTree.ClusteringMethod
    An interface for describing Clustering methods To be updated to cope with Ward's method and others...
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double computeDistance​(int separateClusterSize, int firstToCombineClusterSize, double firstToCombineClusterToSeparateClusterDistance, int secondToCombineClusterSize, double secondToCombineClusterToSeparateClusterDistance)  
      double computeHeight​(int firstToCombineClusterSize, int secondToCombineClusterSize, double distance)  
      java.lang.String getMethodName()  
    • Method Detail

      • computeDistance

        double computeDistance​(int separateClusterSize,
                               int firstToCombineClusterSize,
                               double firstToCombineClusterToSeparateClusterDistance,
                               int secondToCombineClusterSize,
                               double secondToCombineClusterToSeparateClusterDistance)
      • computeHeight

        double computeHeight​(int firstToCombineClusterSize,
                             int secondToCombineClusterSize,
                             double distance)
      • getMethodName

        java.lang.String getMethodName()