X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=parsimony.h;h=bf0e0d4f90198ef353c2c1899414f699454c8a7e;hp=11d4cc859b2c35295a273780499485ac70e1c052;hb=1a20e24ee786195ab0e1cccd4f5aede7a88f3f4e;hpb=5a3592c6478d5d786ec20e4bee71854ad92fdb8c diff --git a/parsimony.h b/parsimony.h index 11d4cc8..bf0e0d4 100644 --- a/parsimony.h +++ b/parsimony.h @@ -12,25 +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*, string, string) { return data; }; + 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