X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=unweighted.h;h=b136b007b517e56645be544ee6556f83a45de649;hb=79ca496859f48f1c38803c0f7c603faac348fe4c;hp=598af1a9a561fb51a5861c9e26a4c1994b1d2ad3;hpb=edad2fa8defaa6856b3606a215bf64b91340eeb4;p=mothur.git diff --git a/unweighted.h b/unweighted.h index 598af1a..b136b00 100644 --- a/unweighted.h +++ b/unweighted.h @@ -12,14 +12,14 @@ */ #include "treecalculator.h" -#include "treemap.h" +#include "counttable.h" /***********************************************************************/ class Unweighted : public TreeCalculator { public: - Unweighted(TreeMap* t) : tmap(t) {}; + Unweighted(bool r) : includeRoot(r) {}; ~Unweighted() {}; EstOutput getValues(Tree*, int, string); EstOutput getValues(Tree*, string, string, int, string); @@ -32,17 +32,16 @@ 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); + EstOutput driver(Tree*, vector< vector >, int, int, CountTable*); + EstOutput createProcesses(Tree*, vector< vector >, CountTable*); + EstOutput driver(Tree*, vector< vector >, int, int, bool, CountTable*); + EstOutput createProcesses(Tree*, vector< vector >, bool, CountTable*); int getRoot(Tree*, int, vector); };