]> git.donarmstrong.com Git - mothur.git/blobdiff - phylodiversitycommand.h
paralellized phylo.diversity
[mothur.git] / phylodiversitycommand.h
index a7e0d2e5d090f3e567446fe4e76d9ee3dd7d776b..7d4b2d89484a88e4bc5016f19e2e24c89ab07a4e 100644 (file)
@@ -26,7 +26,7 @@ class PhyloDiversityCommand : public Command {
                GlobalData* globaldata;
                
                float freq;
-               int iters;  
+               int iters, processors;  
                bool abort, rarefy, summary, collect, scale;
                string groups, outputDir;
                vector<string> Groups, outputNames; //holds groups to be used, and outputFile names
@@ -34,6 +34,9 @@ class PhyloDiversityCommand : public Command {
                void printData(set<int>&, map< string, vector<float> >&, ofstream&, int);
                void printSumData(map< string, vector<float> >&, ofstream&, int);
                float calcBranchLength(Tree*, int, map< string, set<int> >&);
+               int driver(Tree*, map< string, vector<float> >&, map<string, vector<float> >&, int, int, vector<int>&, set<int>&, ofstream&, ofstream&, bool);
+               int createProcesses(vector<int>&, Tree*, map< string, vector<float> >&, map<string, vector<float> >&, int, int, vector<int>&, set<int>&, ofstream&, ofstream&);
+
 };
 
 #endif