X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=tree.h;h=4f77e50578bad8c234ae4711adf69a612175b088;hb=df82ee669d7eb9ae9a1a334339dfab7961cb16c6;hp=8b77d3ddbed48dddb5de57dfa44394118c7a1920;hpb=c76b65598a0b85183126bd764c83f354e9f490d1;p=mothur.git diff --git a/tree.h b/tree.h index 8b77d3d..4f77e50 100644 --- a/tree.h +++ b/tree.h @@ -10,8 +10,6 @@ * */ -using namespace std; - #include "treenode.h" #include "globaldata.hpp" @@ -36,6 +34,7 @@ public: void printTree(); void print(ostream&); void printForBoot(ostream&); + int findRoot(); //return index of root node //this function takes the leaf info and populates the non leaf nodes void assembleTree(); @@ -55,7 +54,6 @@ private: void randomBlengths(); void randomLabels(vector); void randomLabels(string, string); - int findRoot(); //return index of root node void printBranch(int, ostream&, string); //recursively print out tree };