X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=parsimony.h;h=7316d508dd52729c8ddec87c34a08c76586cd4d1;hb=2c97dd48b8e27ee0a6a86c7a082f4c504c3357c6;hp=8955ef7a2253ec5a1f2985d09198431a66a8db2c;hpb=692e0c1f69a78b568dc85cbdcea9fb6c189e2e6c;p=mothur.git diff --git a/parsimony.h b/parsimony.h index 8955ef7..7316d50 100644 --- a/parsimony.h +++ b/parsimony.h @@ -13,24 +13,32 @@ #include "treecalculator.h" #include "treemap.h" -#include "globaldata.hpp" /***********************************************************************/ class Parsimony : public TreeCalculator { public: - Parsimony(TreeMap* t) : tmap(t) {}; + Parsimony() {}; ~Parsimony() {}; - EstOutput getValues(Tree*); + EstOutput getValues(Tree*, int, string); private: - GlobalData* globaldata; + struct linePair { + int start; + int num; + linePair(int i, int j) : start(i), num(j) {} + }; + vector lines; + EstOutput data; - TreeMap* tmap; - bool inUsersGroups(string); - map::iterator it; + int processors; + string outputDir; + + EstOutput driver(Tree*, vector< vector >, int, int, TreeMap*); + EstOutput createProcesses(Tree*, vector< vector >, TreeMap*); }; /***********************************************************************/ -#endif \ No newline at end of file + +#endif