The representative for each cluster is the member whose location in the embedding is closest to the cluster center.
Public Member Functions | |
const Ints & | get_cluster (unsigned int i) const |
const Floats & | get_cluster_center (unsigned int i) const |
int | get_cluster_representative (unsigned int i) const |
unsigned int | get_number_of_clusters () const |
virtual std::string | get_type_name () const |
virtual ::IMP::VersionInfo | get_version_info () const |
KMeansClustering (const std::vector< Ints > &clusters, const std::vector< Floats > ¢ers, const Ints &reps) | |
Friends | |
template<class T > | |
void | IMP::internal::unref (T *) |