]> git.donarmstrong.com Git - mothur.git/blobdiff - tree.h
added bootstrap.shared command and fixed some bugs with heatmap
[mothur.git] / tree.h
diff --git a/tree.h b/tree.h
index ac57a4a8168701e5d9f285537a8550de3f946bfa..58f3a792e9fbb22547765d9d238ffcabc1a77a01 100644 (file)
--- a/tree.h
+++ b/tree.h
@@ -34,6 +34,7 @@ public:
        int getNumLeaves(){     return numLeaves; }
        map<string, int> mergeUserGroups(int, vector<string>);  //returns a map with a groupname and the number of times that group was seen in the children
        void printTree();
+       void print(ostream&);
        
        //this function takes the leaf info and populates the non leaf nodes
        void assembleTree();            
@@ -54,7 +55,7 @@ private:
        void randomLabels(vector<string>);
        void randomLabels(string, string);
        int findRoot();  //return index of root node
-       void printBranch(int);  //recursively print out tree
+       void printBranch(int, ostream&);  //recursively print out tree
 };
 
 #endif