X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=parsimony.h;h=bf0e0d4f90198ef353c2c1899414f699454c8a7e;hp=b5d7e209c415274020f4d359a35bbcdf374d8383;hb=1a20e24ee786195ab0e1cccd4f5aede7a88f3f4e;hpb=d037597badc8d18e235c59f0c1114180edb7f98f diff --git a/parsimony.h b/parsimony.h index b5d7e20..bf0e0d4 100644 --- a/parsimony.h +++ b/parsimony.h @@ -12,21 +12,33 @@ */ #include "treecalculator.h" -#include "treemap.h" +#include "counttable.h" /***********************************************************************/ class Parsimony : public TreeCalculator { public: - Parsimony(TreeMap* t) : tmap(t) {}; + Parsimony() {}; ~Parsimony() {}; - EstOutput getValues(Tree*); + EstOutput getValues(Tree*, int, string); private: + struct linePair { + int start; + int num; + linePair(int i, int j) : start(i), num(j) {} + }; + vector lines; + EstOutput data; - TreeMap* tmap; + 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