8 * Created by Pat Schloss on 8/13/08.
9 * Copyright 2008 Patrick D. Schloss. All rights reserved.
13 #include "rabundvector.hpp"
14 #include "listvector.hpp"
15 #include "sharedlistvector.h"
16 #include "sparsematrix.hpp"
17 #include "nameassignment.hpp"
18 #include "inputdata.h"
19 #include "globaldata.hpp"
20 #include "sabundvector.hpp"
28 ReadMatrix(){ D = new SparseMatrix(); }
29 virtual void read(NameAssignment*){};
30 virtual void read(GlobalData* globaldata){};
31 void setCutoff(float c) { cutoff = c; }
32 SparseMatrix* getMatrix() { return D; }
33 ListVector* getListVector() { return list; }
34 // OrderVector* getOrderVector() { return order; }
41 GlobalData* globaldata;
49 class ReadPhylipMatrix : public ReadMatrix {
52 ReadPhylipMatrix(string);
54 void read(NameAssignment*);
62 class ReadColumnMatrix : public ReadMatrix {
65 ReadColumnMatrix(string);
67 void read(NameAssignment*);
74 class ReadPhilFile : public ReadMatrix {
79 void read(GlobalData* globaldata);
84 InputData* inputSabund;
87 SharedListVector* SharedList;
90 GlobalData* globaldata;
91 // InputData* getInput() { return input; }