X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=cluster.hpp;h=d7c2737a05ed1a0198be9713aa4345f288ec3976;hb=2c97dd48b8e27ee0a6a86c7a082f4c504c3357c6;hp=72d3611a093296b3dc18d9ddb7bf12d0a0a9a0e5;hpb=74844a60d80c6dd06e3fb02ee9b928424f9019b0;p=mothur.git diff --git a/cluster.hpp b/cluster.hpp index 72d3611..d7c2737 100644 --- a/cluster.hpp +++ b/cluster.hpp @@ -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