#include "mothur.h"
#include "mothurout.h"
#include "listvector.hpp"
-#include "globaldata.hpp"
#include "rabundvector.hpp"
+#include "nameassignment.hpp"
/*
* clusterclassic.h
class ClusterClassic {
public:
- ClusterClassic(float, string);
+ ClusterClassic(float, string, bool);
int readPhylipFile(string, NameAssignment*);
void update(double&);
double getSmallDist() { return smallDist; }
int col;
int row;
double dist;
- colDist(int i, int r, double d) : row(r), col(i), dist(d) {}
+ colDist(int r, int c, double d) : row(r), col(c), dist(d) {}
};
RAbundVector* rabund;
ListVector* list;
vector< vector<double> > dMatrix;
- vector<colDist> rowSmallDists;
+ //vector<colDist> rowSmallDists;
int smallRow;
int smallCol, nseqs;
double smallDist;
- bool mapWanted;
- float cutoff;
+ bool mapWanted, sim;
+ double cutoff, aboveCutoff;
map<string, int> seq2Bin;
string method;
MothurOut* m;
- GlobalData* globaldata;
};
#endif