#include "listvector.hpp"
#include "sparsematrix.hpp"
#include "nameassignment.hpp"
-#include "globaldata.hpp"
class SparseMatrix;
public:
ReadMatrix(){ D = new SparseMatrix(); m = MothurOut::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; }
protected:
SparseMatrix* D;
ListVector* list;
- GlobalData* globaldata;
float cutoff;
MothurOut* m;
+ bool sim;
};