]> git.donarmstrong.com Git - mothur.git/blobdiff - treemap.h
This is mothur v 1.2.0 - the April ~24, 2009 release
[mothur.git] / treemap.h
index 0dc74eec2fad5ebc157b4fd12e63a7b8b37c967a..73d02fcc4b0c58f29de00c130e3fa8a197dd3d53 100644 (file)
--- a/treemap.h
+++ b/treemap.h
@@ -10,7 +10,7 @@
  */
 
 #include "mothur.h"
-#include "utilities.hpp"
+#include "groupmap.h"
 
 /* This class is used by the read.tree command to build the tree container. */
 
@@ -19,7 +19,7 @@ struct GroupIndex {
        int             vectorIndex;
 };
 
-
+class GroupMap;
 
 class TreeMap {
 public:
@@ -38,6 +38,8 @@ public:
     map<string,int> seqsPerGroup;      //groupname, number of seqs in that group.
        map<string, GroupIndex> treemap; //sequence name and <groupname, vector index>
        void print(ostream&);
+       void makeSim(GroupMap*);  //takes groupmap info and fills treemap for use by tree.shared command.
+       
        
 private:
        ifstream fileHandle;
@@ -47,6 +49,7 @@ private:
        map<string, int>::iterator it2;
        void setNamesOfGroups(string); 
        
+       
 };
 
 #endif