Clustering de Proteine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
cluster.h
Go to the documentation of this file.
1 #ifndef CLUSTER_H
2 #define CLUSTER_H
3 #include <vector>
4 #include "mypdbreader/protein.h"
5 class Clustering;
6 #include "clustering.h"
7 class Cluster
8 {
9  std::vector<Protein * > m_proteine;
10  int id;
11  double spread;
12 public:
13  Cluster(int id,Clustering *parent);
14  Cluster(const Cluster& var);
15  int getid();
16  void addProtein(Protein* prot);
17  void calculSpread();
18  double getSpread();
19  unsigned int getnbProtein();
20  Protein * operator[](int i);
22 };
23 
24 #endif // CLUSTER_H