public final class ClusteringMatrixBuilder extends Object implements ClusteringBuilder
Constructor and Description |
---|
ClusteringMatrixBuilder(int nObservations) |
public 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 int[][] getClustering()