]> git.donarmstrong.com Git - mothur.git/blobdiff - unweighted.h
working on parallelizing unifrac.unweighted.
[mothur.git] / unweighted.h
index e3bf3a8fc240648e4a38f48ced539845d3648706..f27df8c9495d36ea9b98f74b521316af95271a0f 100644 (file)
@@ -21,19 +21,29 @@ class Unweighted : public TreeCalculator  {
        public:
                Unweighted(TreeMap* t) : tmap(t) {};
                ~Unweighted() {};
-               EstOutput getValues(Tree*);
+               EstOutput getValues(Tree*, int, string);
+               EstOutput getValues(Tree*, string, string);
                
        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;
-               vector<int> penalty;
                TreeMap* tmap;
-               bool inUsersGroups(string);
+               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