X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=fullmatrix.h;h=9de7ead566d4d5446b5ea405b5e3c7eb24991cc0;hp=7cb8b15fedf8c39f06aeaee5ca3fb6e9f3274499;hb=cf9987b67aa49777a4c91c2d21f96e58bf17aa82;hpb=c82900be3ceed3d9bc491bdc98b1819ef85c1af7 diff --git a/fullmatrix.h b/fullmatrix.h index 7cb8b15..9de7ead 100644 --- a/fullmatrix.h +++ b/fullmatrix.h @@ -11,7 +11,6 @@ #include "mothur.h" #include "groupmap.h" -#include "globaldata.hpp" #include "progress.hpp" @@ -23,8 +22,8 @@ struct Names { class FullMatrix { public: - FullMatrix(){}; - FullMatrix(ifstream&); + //FullMatrix(){ m = MothurOut::getInstance(); } + FullMatrix(ifstream&, GroupMap*, bool); ~FullMatrix(){}; int getNumSeqs(); @@ -39,8 +38,8 @@ public: private: vector< vector > matrix; //a 2D distance matrix of all the sequences and their distances to eachother. - void readSquareMatrix(ifstream&); - void readLTMatrix(ifstream&); + int readSquareMatrix(ifstream&); + int readLTMatrix(ifstream&); vector index; // row in vector, sequence group. need to know this so when we sort it can be updated. vector sizes; vector groups; @@ -52,7 +51,8 @@ private: int numSeqs; int numGroups; int numUserGroups; - GlobalData* globaldata; + bool sim; + MothurOut* m; }; #endif