public final class DendrogramBuilder extends Object implements ClusteringBuilder
Constructor and Description |
---|
DendrogramBuilder(int nObservations) |
public final void merge(int i, int j, double dissimilarity)
ClusteringBuilder
merge
in interface ClusteringBuilder
i
- the smaller of the two cluster indicesj
- the larger of the two cluster indicesdissimilarity
- between the two merged clusterspublic final Dendrogram getDendrogram()