public class CompleteLinkage extends Linkage
| Constructor and Description |
|---|
CompleteLinkage(double[][] proximity)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
merge(int i,
int j)
Merge two clusters into one and update the proximity matrix.
|
java.lang.String |
toString() |
getProximitypublic CompleteLinkage(double[][] proximity)
proximity - the proximity matrix to store the distance measure of
dissimilarity. To save space, we only need the lower half of matrix.