class SingleLinkage : public Cluster {
public:
SingleLinkage(RAbundVector*, ListVector*, SparseMatrix*, float, string);
- void update();
+ void update(double&);
bool updateDistance(MatData& colCell, MatData& rowCell);
string getTag();
/***********************************************************************/
+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