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

    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)
     
     
  • Method Details

    • computeDistance

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

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

      String getMethodName()