X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=rabundvector.hpp;h=c7222291e714d3b23879e594a8fcf51bc9ce331d;hp=fab02a921a602524e7516bdcbd7efc64326cbbea;hb=cf9987b67aa49777a4c91c2d21f96e58bf17aa82;hpb=348a7bac1d3c5d17ae0e4a93b78f69f4e200a190 diff --git a/rabundvector.hpp b/rabundvector.hpp index fab02a9..c722229 100644 --- a/rabundvector.hpp +++ b/rabundvector.hpp @@ -3,7 +3,8 @@ #include "datavector.hpp" -/* This class is a child to datavector. It represents OTU information at a certain distance. +/* Data Structure for a rabund file. + This class is a child to datavector. It represents OTU information at a certain distance. A rabundvector can be converted into and ordervector, listvector or sabundvector. Each member of the internal container "data" represents an individual OTU. So data[0] = 6, because there are six member in that OTU. @@ -41,6 +42,7 @@ public: int sum(); int sum(int); int numNZ(); + void clear(); vector::reverse_iterator rbegin(); vector::reverse_iterator rend();