6 * sharedSharedSAbundVector.h
9 * Created by Sarah Westcott on 12/10/08.
10 * Copyright 2008 __MyCompanyName__. All rights reserved.
15 #include <Carbon/Carbon.h>
16 #include "datavector.hpp"
17 #include "rabundvector.hpp"
18 #include "ordervector.hpp"
19 #include "sharedordervector.h"
20 #include "sharedrabundvector.h"
24 class SharedSAbundVector : public DataVector {
28 SharedSAbundVector(int);
29 SharedSAbundVector(const SharedSAbundVector& rv) : DataVector(rv.label), data(rv.data), maxRank(rv.maxRank), numBins(rv.numBins), numSeqs(rv.numSeqs){};
30 ~SharedSAbundVector(){};
36 void setGroup(string);
38 void set(int, int, string);
40 int getAbundance(int);
41 void push_back(int, int, string);
48 RAbundVector getRAbundVector();
49 SAbundVector getSAbundVector();
50 SharedSAbundVector getSharedSAbundVector();
51 SharedRAbundVector getSharedVector();
52 OrderVector getOrderVector(map<string,int>*);
55 vector<individual> data;