X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=matrixoutputcommand.h;h=b42cfb92c62a74fdb55b7902c3bfa9644c7359f7;hb=f06fdb807822f8e06db003ed809c87250905cfc8;hp=2c403aa1570895546ea1cbeb8e6c2e46d406c7e3;hpb=ec1b5bc7460ac8ad40f54f0729900d9ed98e7292;p=mothur.git diff --git a/matrixoutputcommand.h b/matrixoutputcommand.h index 2c403aa..b42cfb9 100644 --- a/matrixoutputcommand.h +++ b/matrixoutputcommand.h @@ -38,21 +38,30 @@ public: void help() { m->mothurOut(getHelpString()); } private: - void printSims(ostream&); + struct linePair { + int start; + int end; + }; + vector lines; + + void printSims(ostream&, vector< vector >&); int process(vector); vector matrixCalculators; - vector< vector > simMatrix; + //vector< vector > simMatrix; InputData* input; vector lookup; string exportFileName, output, sharedfile; - int numGroups; + int numGroups, processors; ofstream out; bool abort, allLines; set labels; //holds labels to be used string outputFile, calc, groups, label, outputDir; vector Estimators, Groups, outputNames; //holds estimators to be used + int process(vector, string, string); + int driver(vector, int, int, vector< vector >&); + };