8 * Created by Pat Schloss on 8/13/08.
9 * Copyright 2008 Patrick D. Schloss. All rights reserved.
14 #include "rabundvector.hpp"
15 #include "listvector.hpp"
16 #include "sharedlistvector.h"
17 #include "sparsematrix.hpp"
18 #include "nameassignment.hpp"
19 #include "inputdata.h"
20 #include "globaldata.hpp"
21 #include "sabundvector.hpp"
29 ReadMatrix(){ D = new SparseMatrix(); }
30 virtual void read(NameAssignment*){};
31 virtual void read(GlobalData* globaldata){};
32 void setCutoff(float c) { cutoff = c; }
33 SparseMatrix* getMatrix() { return D; }
34 ListVector* getListVector() { return list; }
35 // OrderVector* getOrderVector() { return order; }
42 GlobalData* globaldata;
50 class ReadPhylipMatrix : public ReadMatrix {
53 ReadPhylipMatrix(string);
55 void read(NameAssignment*);
63 class ReadColumnMatrix : public ReadMatrix {
66 ReadColumnMatrix(string);
68 void read(NameAssignment*);
75 class ReadPhilFile : public ReadMatrix {
80 void read(GlobalData* globaldata);
85 InputData* inputSabund;
88 SharedListVector* SharedList;
91 GlobalData* globaldata;
92 // InputData* getInput() { return input; }