#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*, 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<linePair> lines;
+
EstOutput data;
- TreeMap* tmap;
- map<string, int>::iterator it;
+ int processors;
+ string outputDir;
+
+ EstOutput driver(Tree*, vector< vector<string> >, int, int, TreeMap*);
+ EstOutput createProcesses(Tree*, vector< vector<string> >, TreeMap*);
};
/***********************************************************************/
-#endif
\ No newline at end of file
+
+#endif