]> git.donarmstrong.com Git - mothur.git/blobdiff - parsimony.h
working on kendall
[mothur.git] / parsimony.h
index a22f5bda875b467fee13b369c9a1c639ad5e5662..fc905f2d3c432ab1ce4a05007e13ca0f14264fd0 100644 (file)
@@ -22,16 +22,27 @@ class Parsimony : public TreeCalculator  {
        public:
                Parsimony(TreeMap* t) : tmap(t) {};
                ~Parsimony() {};
-               EstOutput getValues(Tree*);
-               EstOutput getValues(Tree*, string, string) { return data; };
+               EstOutput getValues(Tree*, int, string);
+               //EstOutput getValues(Tree*, string, string) { return data; }
                
        private:
+               struct linePair {
+                       int start;
+                       int num;
+                       linePair(int i, int j) : start(i), num(j) {}
+               };
+               vector<linePair> lines;
+       
                GlobalData* globaldata;
-               Tree* copyTree;
                EstOutput data;
                TreeMap* tmap;
-               map<string, int>::iterator it;
+               int processors;
+               string outputDir;
+       
+               EstOutput driver(Tree*, vector< vector<string> >, int, int); 
+               EstOutput createProcesses(Tree*, vector< vector<string> >);
 };
 
 /***********************************************************************/
-#endif
\ No newline at end of file
+
+#endif