1 #ifndef CLUSTERCLASSIC_H
2 #define CLUSTERCLASSIC_H
6 #include "listvector.hpp"
7 #include "rabundvector.hpp"
8 #include "nameassignment.hpp"
9 #include "counttable.h"
15 * Created by westcott on 10/29/10.
16 * Copyright 2010 Schloss Lab. All rights reserved.
21 class ClusterClassic {
24 ClusterClassic(float, string, bool);
25 int readPhylipFile(string, NameAssignment*);
26 int readPhylipFile(string, CountTable*);
28 double getSmallDist() { return smallDist; }
29 int getNSeqs() { return nseqs; }
30 ListVector* getListVector() { return list; }
31 RAbundVector* getRAbundVector() { return rabund; }
32 string getTag() { return tag; }
33 void setMapWanted(bool m);
34 map<string, int> getSeqtoBin() { return seq2Bin; }
37 double getSmallCell();
47 colDist(int r, int c, double d) : row(r), col(c), dist(d) {}
52 vector< vector<float> > dMatrix;
53 //vector<colDist> rowSmallDists;
59 double cutoff, aboveCutoff;
60 map<string, int> seq2Bin;