]> git.donarmstrong.com Git - mothur.git/blobdiff - cluster.hpp
added sequence name to error string in fastq.info. Changed np_shannon to npshannon.
[mothur.git] / cluster.hpp
index 72d3611a093296b3dc18d9ddb7bf12d0a0a9a0e5..d7c2737a05ed1a0198be9713aa4345f288ec3976 100644 (file)
@@ -67,7 +67,7 @@ private:
 class SingleLinkage : public Cluster {
 public:
        SingleLinkage(RAbundVector*, ListVector*, SparseMatrix*, float, string);
-    void update();
+    void update(double&);
        bool updateDistance(MatData& colCell, MatData& rowCell);
        string getTag();
        
@@ -94,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