X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sharedrabundvector.h;h=beece8e14a1082d7347a62fdc0e95ebcd24a9cc2;hb=37eac2026d91179acda0494c4dcca22f176551b9;hp=14ec1b8e95d1aebea828c804ea1abc2e75b27217;hpb=f5023c911c377e5320c5110c78af98dd8841ef58;p=mothur.git diff --git a/sharedrabundvector.h b/sharedrabundvector.h index 14ec1b8..beece8e 100644 --- a/sharedrabundvector.h +++ b/sharedrabundvector.h @@ -13,6 +13,7 @@ #include "datavector.hpp" #include "sharedordervector.h" #include "sharedsabundvector.h" +#include "sharedrabundfloatvector.h" #include "rabundvector.hpp" #include "groupmap.h" @@ -51,10 +52,11 @@ public: void sortD(); //Sorts the data in descending order. void push_front(int, int, string); //abundance, otu, groupname void insert(int, int, string); //abundance, otu, groupname - void push_back(int, int, string); //abundance, otu, groupname + void push_back(int, string); //abundance, groupname void pop_back(); void resize(int); int size(); + void clear(); vector::reverse_iterator rbegin(); vector::reverse_iterator rend(); @@ -68,6 +70,7 @@ public: SharedSAbundVector getSharedSAbundVector(); SharedRAbundVector getSharedRAbundVector(); vector getSharedRAbundVectors(); + vector getSharedRAbundFloatVectors(vector); private: vector data; @@ -79,6 +82,8 @@ private: int numSeqs; string group; int index; + + int eliminateZeroOTUS(vector&); };