IMP logo

IMP::statistics::KMeansClustering Class Reference


Detailed Description

In addition to the information in the Clustering base class, KMeansClustering stores a cluster center for each cluster. The cluster center is a point in the space defined by the embedding.

The representative for each cluster is the member whose location in the embedding is closest to the cluster center.

Inheritance diagram for IMP::statistics::KMeansClustering:

Inheritance graph
[legend]

Public Member Functions

const Intsget_cluster (unsigned int i) const
const Floatsget_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 > &centers, const Ints &reps)

Friends

template<class T >
void IMP::internal::unref (T *)

The documentation for this class was generated from the following files:

Generated on Mon Mar 8 23:09:03 2010 for IMP by doxygen 1.5.8