00001 #ifndef BALL_STRUCTURE_BACKBONECLUSTERER_H 00002 #define BALL_STRUCTURE_BACKBONECLUSTERER_H 00003 00004 namespace BALL 00005 { 00006 class BackboneClusterer 00007 { 00008 BackboneClusterer(DistanceClusterer* cl = 0); 00009 BackboneClusterer(const std::vector<Protein*>& proteins, DistanceClusterer* cl = 0); 00010 ~BackboneClusterer(); 00011 00012 void cluster(); 00013 00014 void setProteins(const std::vector<Protein*>& proteins); 00015 00016 const std::vector<unsigned int>& getClustering() const; 00017 00018 protected: 00019 bool own_clusterer_; 00020 DistanceClusterer* clusterer; 00021 }; 00022 } 00023 00024 #endif //BALL_STRUCTURE_BACKBONECLUSTERER_H