]> git.donarmstrong.com Git - mothur.git/blobdiff - formatmatrix.h
added sparseDistanceMatrix class. Modified cluster commands to use the new sparse...
[mothur.git] / formatmatrix.h
index 4ef36d95d6d8e11db5bf065a755fd0292e809c17..7e7a99c1dbcf4bf495ad7b1a7c7caec49bef3e90 100644 (file)
 class FormatMatrix {
 
 public:
-       FormatMatrix(){ }
+       FormatMatrix(){ m = MothurOut::getInstance(); }
        virtual ~FormatMatrix() {}
        
-       virtual void read(NameAssignment*){};
+       virtual int read(NameAssignment*){ return 1; }
        
        void setCutoff(float c)                 {       cutoff = c;                     }
        ListVector* getListVector()             {       return list;            }
@@ -72,6 +72,7 @@ protected:
        float cutoff;
        string distFile;
        vector<int> rowPos;
+       MothurOut* m;
 };
 
 //**********************************************************************************************************************