Package smile.clustering.linkage
Class CompleteLinkage
- java.lang.Object
-
- smile.clustering.linkage.Linkage
-
- smile.clustering.linkage.CompleteLinkage
-
public class CompleteLinkage extends Linkage
Complete linkage. This is the opposite of single linkage. Distance between groups is now defined as the distance between the most distant pair of objects, one from each group.- Author:
- Haifeng Li
-
-
Constructor Summary
Constructors Constructor Description CompleteLinkage(double[][] proximity)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
merge(int i, int j)
Merge two clusters into one and update the proximity matrix.java.lang.String
toString()
-