X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=unifracweightedcommand.h;fp=unifracweightedcommand.h;h=b6aea7dad9215a131691019445c2f911c77084a4;hp=77dd10d3490999def3789b91d405ac76e470f360;hb=f099fdc1e3a0d7b75d780a164e5bdb93496a7a1d;hpb=257808d42702d889a85d0132abc6b8776fc57418 diff --git a/unifracweightedcommand.h b/unifracweightedcommand.h index 77dd10d..b6aea7d 100644 --- a/unifracweightedcommand.h +++ b/unifracweightedcommand.h @@ -29,6 +29,13 @@ class UnifracWeightedCommand : public Command { void help(); private: + struct linePair { + int start; + int num; + linePair(int i, int j) : start(i), num(j) {} + }; + vector lines; + GlobalData* globaldata; SharedUtil* util; FileOutput* output; @@ -52,6 +59,7 @@ class UnifracWeightedCommand : public Command { bool abort, phylip, random; string groups, itersString; vector Groups, outputNames; //holds groups to be used + int processors; ofstream outSum; @@ -62,6 +70,8 @@ class UnifracWeightedCommand : public Command { //void removeValidScoresDuplicates(); int findIndex(float, int); void calculateFreqsCumuls(); + int createProcesses(Tree*, Tree*, vector< vector >, vector&, vector< vector >&); + int driver(Tree*, Tree*, vector< vector >, int, int, vector&, vector< vector >&); };