X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=parsimony.h;h=bf0e0d4f90198ef353c2c1899414f699454c8a7e;hb=79ca496859f48f1c38803c0f7c603faac348fe4c;hp=ebe3d8d89d4ecf2174dc84f8796245a07f4384c9;hpb=d97b619c4297b1274c754d73a64792ba656b0a79;p=mothur.git diff --git a/parsimony.h b/parsimony.h index ebe3d8d..bf0e0d4 100644 --- a/parsimony.h +++ b/parsimony.h @@ -12,24 +12,33 @@ */ #include "treecalculator.h" -#include "treemap.h" -#include "globaldata.hpp" +#include "counttable.h" /***********************************************************************/ 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; - map::iterator it; + int processors; + string outputDir; + + EstOutput driver(Tree*, vector< vector >, int, int, CountTable*); + EstOutput createProcesses(Tree*, vector< vector >, CountTable*); }; /***********************************************************************/ -#endif \ No newline at end of file + +#endif