Package ffx.numerics.clustering
Class CompleteLinkageStrategy
java.lang.Object
ffx.numerics.clustering.CompleteLinkageStrategy
- All Implemented Interfaces:
LinkageStrategy
Linkage strategy that uses the maximum of pairwise distances between cluster
members (complete-linkage / farthest-neighbor).
- Since:
- 1.0
- Author:
- Lars Behnke, 2013, Michael J. Schnieders
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalculateDistance
(Collection<Distance> distances) Computes the complete-linkage distance, i.e., the maximum of provided distances.
-
Constructor Details
-
CompleteLinkageStrategy
public CompleteLinkageStrategy()
-
-
Method Details
-
calculateDistance
Computes the complete-linkage distance, i.e., the maximum of provided distances.- Specified by:
calculateDistance
in interfaceLinkageStrategy
- Parameters:
distances
- collection of pairwise distances between cluster members- Returns:
- a Distance whose value is the maximum of the inputs
-