/***********************************************************************/
//This function clusters based on the single linkage method.
-void SingleLinkage::update(){
+void SingleLinkage::update(double& cutOFF){
try {
getRowColCells();
clusterBins();
clusterNames();
// remove also the cell with the smallest distance
+
removeCell(rowCells[rowInd], -1 , -1);
}
catch(exception& e) {
- errorOut(e, "SingleLinkage", "update");
+ m->errorOut(e, "SingleLinkage", "update");
exit(1);
}
}
return(changed);
}
catch(exception& e) {
- errorOut(e, "SingleLinkage", "updateDistance");
+ m->errorOut(e, "SingleLinkage", "updateDistance");
exit(1);
}
}