X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=sabundvector.hpp;h=666e94f4db598b9bf1589bf8288fed75e221bdc3;hp=769a35dd3a14c85a160ac81532b4d7aa3cd1914a;hb=cf9987b67aa49777a4c91c2d21f96e58bf17aa82;hpb=74c78f9abd9e733f0c2f812efec97a76632fcbf8 diff --git a/sabundvector.hpp b/sabundvector.hpp index 769a35d..666e94f 100644 --- a/sabundvector.hpp +++ b/sabundvector.hpp @@ -7,7 +7,8 @@ #include "calculator.h" -/* This class is a child to datavector. It represents OTU information at a certain distance. +/* Data Structure for a sabund file. + This class is a child to datavector. It represents OTU information at a certain distance. A sabundvector can be converted into and ordervector, listvector or rabundvector. Each member of the internal container "data" represents the number of OTU's with that many members, but staring at 1. So data[1] = 2, because there are two OTUs with 1 member. @@ -40,6 +41,7 @@ public: int sum(); void resize(int); int size(); + void clear(); void print(ostream&); void print(string, ostream&);