4 /***********************************************************************/
6 CompleteLinkage::CompleteLinkage(RAbundVector* rav, ListVector* lv, SparseMatrix* dm, float c, string s) :
7 Cluster(rav, lv, dm, c, s)
10 /***********************************************************************/
11 //This function returns the tag of the method.
12 string CompleteLinkage::getTag() {
17 /***********************************************************************/
18 //This function updates the distance based on the furthest neighbor method.
19 bool CompleteLinkage::updateDistance(MatData& colCell, MatData& rowCell) {
22 if (colCell->dist < rowCell->dist) {
23 colCell->dist = rowCell->dist;
29 m->errorOut(e, "CompleteLinkage", "updateDistance");
34 /***********************************************************************/