class ReadMatrix {
public:
- ReadMatrix(){ D = new SparseMatrix(); m = MothurOut::getInstance(); }
+ ReadMatrix(){ D = new SparseMatrix(); m = MothurOut::getInstance(); globaldata = GlobalData::getInstance(); }
virtual ~ReadMatrix() {}
- virtual void read(NameAssignment*){};
- virtual void read(GlobalData* globaldata){};
+ virtual int read(NameAssignment*){ return 1; }
+
void setCutoff(float c) { cutoff = c; }
SparseMatrix* getMatrix() { return D; }
ListVector* getListVector() { return list; }
GlobalData* globaldata;
float cutoff;
MothurOut* m;
+ bool sim;
};