]> git.donarmstrong.com Git - mothur.git/blobdiff - treemap.h
added errorchecking and help info on new unifrac and treeclimber code
[mothur.git] / treemap.h
index 60f75b388571aff503ac95b96df5946e6fcfa89f..60fb924278c8df36a405ca363c2584d5ae2fa42a 100644 (file)
--- a/treemap.h
+++ b/treemap.h
@@ -34,11 +34,12 @@ public:
        int getNumSeqs();
        void setIndex(string, int);  //sequencename, index
        int getIndex(string);           //returns vector index of sequence
+       bool isValidGroup(string);  //return true if string is a valid group
        string getGroup(string);
        vector<string> namesOfGroups;
        vector<string> namesOfSeqs;
     map<string,int> seqsPerGroup;      //groupname, number of seqs in that group.
-       map<string, GroupIndex> treemap; //sequence name and groupname
+       map<string, GroupIndex> treemap; //sequence name and <groupname, vector index>
        void print(ostream&);
        
 private: