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