public abstract class Linkage
extends java.lang.Object
HierarchicalClustering
Constructor and Description |
---|
Linkage() |
Modifier and Type | Method and Description |
---|---|
float |
d(int i,
int j)
Returns the distance/dissimilarity between two clusters/objects, which
are indexed by integers.
|
abstract void |
merge(int i,
int j)
Merge two clusters into one and update the proximity matrix.
|
int |
size()
Returns the proximity matrix size.
|
public int size()
public float d(int i, int j)
public abstract void merge(int i, int j)
i
- cluster id.j
- cluster id.