X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=weighted.h;h=180409ce2dbad5da67b570a7ca4a3666c61ae3b3;hb=5a4ac4f954c4b4445bcee272f1f8220ddcc9c1e4;hp=c23a11599b4b8d74fdfacd05a5a02ae727834455;hpb=ca9ac1d80c62f57270b0dcd49410ebe08a8aecd6;p=mothur.git diff --git a/weighted.h b/weighted.h index c23a115..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); @@ -34,7 +34,6 @@ class Weighted : public TreeCalculator { vector lines; EstOutput data; - TreeMap* tmap; map::iterator it; map WScore; //a score for each group combination i.e. AB, AC, BC. int processors; @@ -42,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); };