X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=unweighted.h;h=e751d2e79d19f17a2dd3a9af34ea11be95586ef4;hb=8dd3c225255d7084e3aff8740aa4f1f1cabb367a;hp=f41326115020013fb2e59df755bff1e961001c8d;hpb=a98eb683e17d8e49583bf2d215ab7562a4cdca75;p=mothur.git diff --git a/unweighted.h b/unweighted.h index f413261..e751d2e 100644 --- a/unweighted.h +++ b/unweighted.h @@ -19,7 +19,7 @@ class Unweighted : public TreeCalculator { public: - Unweighted(TreeMap* t) : tmap(t) {}; + Unweighted(TreeMap* t, bool r) : tmap(t), includeRoot(r) {}; ~Unweighted() {}; EstOutput getValues(Tree*, int, string); EstOutput getValues(Tree*, string, string, int, string); @@ -32,17 +32,18 @@ class Unweighted : public TreeCalculator { }; vector lines; - GlobalData* globaldata; EstOutput data; TreeMap* tmap; int processors; string outputDir; + map< vector, set > rootForGrouping; //maps a grouping combo to the roots for that combo + bool includeRoot; EstOutput driver(Tree*, vector< vector >, int, int); EstOutput createProcesses(Tree*, vector< vector >); EstOutput driver(Tree*, vector< vector >, int, int, bool); EstOutput createProcesses(Tree*, vector< vector >, bool); - + int getRoot(Tree*, int, vector); }; /***********************************************************************/