void Cluster::update(double& cutOFF){
try {
getRowColCells();
-//cout << "got rowcells" << endl;
vector<int> foundCol(nColCells, 0);
class SingleLinkage : public Cluster {
public:
SingleLinkage(RAbundVector*, ListVector*, SparseMatrix*, float, string);
- void update();
+ void update(double&);
bool updateDistance(MatData& colCell, MatData& rowCell);
string getTag();
/***********************************************************************/
//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) {