]> git.donarmstrong.com Git - mothur.git/blobdiff - cluster.hpp
fixed pintail bug
[mothur.git] / cluster.hpp
index 6d7fc470e91eca8dae548ffb5594a4099a203f35..aa517a057400e09cdca593f4db1e2559dca74972 100644 (file)
@@ -4,6 +4,7 @@
 
 #include "mothur.h"
 #include "sparsematrix.hpp"
+#include "mothurout.h"
 
 class RAbundVector;
 class ListVector;
@@ -46,6 +47,7 @@ protected:
        MatVec colCells;
        ull nRowCells;
        ull nColCells;
+       MothurOut* m;
 };
 
 /***********************************************************************/
@@ -92,4 +94,17 @@ private:
 
 /***********************************************************************/
 
+class WeightedLinkage : public Cluster {
+public:
+       WeightedLinkage(RAbundVector*, ListVector*, SparseMatrix*, float, string);
+       bool updateDistance(MatData& colCell, MatData& rowCell);
+       string getTag();
+       
+private:
+       int saveRow;
+       int saveCol;    
+};
+
+/***********************************************************************/
+
 #endif