9 #ifndef IMPSTATISTICS_PARTITIONAL_CLUSTERING_H
10 #define IMPSTATISTICS_PARTITIONAL_CLUSTERING_H
12 #include <IMP/statistics/statistics_config.h>
17 IMPSTATISTICS_BEGIN_NAMESPACE
28 virtual unsigned int get_number_of_clusters()
const = 0;
31 virtual const Ints& get_cluster(
unsigned int cluster_index)
const = 0;
34 virtual int get_cluster_representative(
unsigned int cluster_index)
const = 0;
43 IMPSTATISTICS_END_NAMESPACE
Import IMP/kernel/base_types.h in the namespace.
void validate_partitional_clustering(PartitionalClustering *pc, unsigned int n)
Import IMP/kernel/macros.h in the namespace.
#define IMP_REF_COUNTED_NONTRIVIAL_DESTRUCTOR(Name)
Common base class for heavy weight IMP objects.
A shared base class to help in debugging and things.
A base class for clustering results where each item is in one cluster.