|
enum | Type { SingleLinkage,
CompleteLinkage,
AverageLinkage
} |
|
|
void | Build (const std::vector< Vector > &data, int K, Type type=SingleLinkage) |
| Builds the clustering using standard Euclidean distance.
|
|
void | Build (const Matrix &dist, int K, Type type=SingleLinkage) |
| Builds the clustering for a custom distance matrix.
|
|
const std::vector< int > & | Cluster (int i) const |
| Returns the indices of the data elements in the i'th cluster.
|
|
|
std::vector< std::vector< int > > | A |
|
The documentation for this class was generated from the following files: