Interface LinkageStrategy

All Known Implementing Classes:
AverageLinkageStrategy, CompleteLinkageStrategy, SingleLinkageStrategy, WeightedLinkageStrategy

public interface LinkageStrategy
Strategy interface for computing the inter-cluster distance used during agglomeration.
Since:
1.0
Author:
Lars Behnke, 2013, Michael J. Schnieders
  • Method Summary

    Modifier and Type
    Method
    Description
    Computes the linkage distance between two clusters from a collection of pairwise distances between their members (and possibly weights).
  • Method Details

    • calculateDistance

      Distance calculateDistance(Collection<Distance> distances)
      Computes the linkage distance between two clusters from a collection of pairwise distances between their members (and possibly weights).
      Parameters:
      distances - the collection of pairwise distances contributing to this linkage
      Returns:
      the aggregated distance according to the strategy