00001
00002
00003
00004
00005
00006
00007
00008 #ifndef IMPSTATISTICS_PARTITIONAL_CLUSTERING_H
00009 #define IMPSTATISTICS_PARTITIONAL_CLUSTERING_H
00010
00011 #include "statistics_config.h"
00012 #include <IMP/macros.h>
00013 #include <IMP/Object.h>
00014
00015 IMPSTATISTICS_BEGIN_NAMESPACE
00016
00017
00018
00019
00020
00021
00022
00023 class IMPSTATISTICSEXPORT PartitionalClustering: public Object {
00024 public:
00025 PartitionalClustering(std::string name): Object(name){}
00026 virtual unsigned int get_number_of_clusters() const=0;
00027
00028
00029 virtual const Ints& get_cluster(unsigned int i) const =0;
00030
00031
00032 virtual int get_cluster_representative(unsigned int i) const=0;
00033 IMP_REF_COUNTED_NONTRIVIAL_DESTRUCTOR(PartitionalClustering);
00034 };
00035
00036 IMPSTATISTICS_END_NAMESPACE
00037 #endif