X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=unweighted.h;h=c6c13bb3a7abd14c824dfe6b495871790809833d;hb=01f6af90c907264686304a5c684c702e94ff40ae;hp=d39b5e7e71f97a543e92cac087cebbe3d9b41b43;hpb=d037597badc8d18e235c59f0c1114180edb7f98f;p=mothur.git diff --git a/unweighted.h b/unweighted.h index d39b5e7..c6c13bb 100644 --- a/unweighted.h +++ b/unweighted.h @@ -19,19 +19,32 @@ class Unweighted : public TreeCalculator { public: - Unweighted(TreeMap* t) : tmap(t) {}; + Unweighted(bool r) : includeRoot(r) {}; ~Unweighted() {}; - EstOutput getValues(Tree*); + EstOutput getValues(Tree*, int, string); + EstOutput getValues(Tree*, string, string, int, string); private: + struct linePair { + int start; + int num; + linePair(int i, int j) : start(i), num(j) {} + }; + vector lines; + EstOutput data; - vector penalty; - 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, TreeMap*); + EstOutput createProcesses(Tree*, vector< vector >, TreeMap*); + EstOutput driver(Tree*, vector< vector >, int, int, bool, TreeMap*); + EstOutput createProcesses(Tree*, vector< vector >, bool, TreeMap*); + int getRoot(Tree*, int, vector); }; /***********************************************************************/ - - -#endif \ No newline at end of file +#endif