]> git.donarmstrong.com Git - mothur.git/blobdiff - sabundvector.hpp
working on pam
[mothur.git] / sabundvector.hpp
index 769a35dd3a14c85a160ac81532b4d7aa3cd1914a..666e94f4db598b9bf1589bf8288fed75e221bdc3 100644 (file)
@@ -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&);