X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=weighted.h;h=180409ce2dbad5da67b570a7ca4a3666c61ae3b3;hb=8e67e9de1b200106bea5a468ac02125954656499;hp=d78edf4d49ffd17e24f8eb559747a43952ad522a;hpb=fca3f55d5ded10c3dc77856f3cc4a1c53b02bb6f;p=mothur.git diff --git a/weighted.h b/weighted.h index d78edf4..180409c 100644 --- a/weighted.h +++ b/weighted.h @@ -19,7 +19,7 @@ class Weighted : public TreeCalculator { public: - Weighted(TreeMap* t, bool r) : tmap(t), includeRoot(r) {}; + Weighted( bool r) : includeRoot(r) {}; ~Weighted() {}; EstOutput getValues(Tree*, string, string); @@ -33,9 +33,7 @@ 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; @@ -43,8 +41,8 @@ class Weighted : public TreeCalculator { 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); };