X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=treemap.h;fp=treemap.h;h=fc9c3690fef8900ad3484147ae3fa0487a514b73;hb=03dca3b32a903c3f29fbcf5b410b19d6ab6dae63;hp=7ed8d04f0886367f5a17a5baeec4848e75687358;hpb=22e2ebf2ee6462b0a828deed0499124975ede6e5;p=mothur.git diff --git a/treemap.h b/treemap.h index 7ed8d04..fc9c369 100644 --- a/treemap.h +++ b/treemap.h @@ -42,13 +42,19 @@ public: sort(namesOfGroups.begin(), namesOfGroups.end()); return namesOfGroups; } - vector namesOfSeqs; - map seqsPerGroup; //groupname, number of seqs in that group. - map treemap; //sequence name and - void print(ostream&); + + void print(ostream&); void makeSim(vector); //takes groupmap info and fills treemap for use by tree.shared command. void makeSim(ListVector*); //takes listvector info and fills treemap for use by tree.shared command. - + vector getNamesSeqs(); + vector getNamesSeqs(vector); //get names of seqs belonging to a group or set of groups + int getCopy(TreeMap*); + + vector namesOfSeqs; + map seqsPerGroup; //groupname, number of seqs in that group. + map treemap; //sequence name and + + private: vector namesOfGroups; ifstream fileHandle;