]> git.donarmstrong.com Git - mothur.git/blob - rarefact.h
fixed some bugs
[mothur.git] / rarefact.h
1 #ifndef RAREFACT_H
2 #define RAREFACT_H
3
4 #include "rarefactioncurvedata.h"
5 #include "raredisplay.h"
6 #include "ordervector.hpp"
7 #include "mothur.h"
8
9
10 class Rarefact {
11         
12 public:
13         Rarefact(OrderVector* o, vector<Display*> disp) :
14                         numSeqs(o->getNumSeqs()), order(o), displays(disp), label(o->getLabel())  {};
15         Rarefact(vector<SharedRAbundVector*> shared, vector<Display*> disp) :
16                                          lookup(shared), displays(disp) {};
17
18         ~Rarefact(){};
19         void getCurve(int, int);
20         void getSharedCurve(int, int);
21         
22 private:
23         OrderVector* order;
24         vector<Display*> displays;
25         int numSeqs, numGroupComb;
26         string label;
27         void mergeVectors(SharedRAbundVector*, SharedRAbundVector*);
28         vector<SharedRAbundVector*> lookup; 
29
30 };
31
32
33 #endif
34