X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=weighted.h;h=180409ce2dbad5da67b570a7ca4a3666c61ae3b3;hb=f06b339c5fc4b6d1b9d2a08fe16bf7670bf7aeb4;hp=11cd26b2d9642cb2679a0f3dfc06d930c15127f0;hpb=c53ef46b40b97c00e32bfd8c3924ce8c51b5cd7b;p=mothur.git diff --git a/weighted.h b/weighted.h index 11cd26b..180409c 100644 --- a/weighted.h +++ b/weighted.h @@ -19,7 +19,7 @@ class Weighted : public TreeCalculator { public: - Weighted(TreeMap* t) : tmap(t) {}; + Weighted( bool r) : includeRoot(r) {}; ~Weighted() {}; EstOutput getValues(Tree*, string, string); @@ -33,17 +33,16 @@ class Weighted : public TreeCalculator { }; vector lines; - GlobalData* globaldata; EstOutput data; - TreeMap* tmap; map::iterator it; map WScore; //a score for each group combination i.e. AB, AC, BC. int processors; string outputDir; map< vector, set > rootForGrouping; //maps a grouping combo to the root for that combo + bool includeRoot; - EstOutput driver(Tree*, vector< vector >, int, int); - EstOutput createProcesses(Tree*, vector< vector >); + EstOutput driver(Tree*, vector< vector >, int, int, TreeMap*); + EstOutput createProcesses(Tree*, vector< vector >, TreeMap*); double getLengthToRoot(Tree*, int, string, string); };