Searched refs:newPot (Results 1 – 2 of 2) sorted by relevance
241 double newPot = 0; in chooseCentersKMeanspp() local244 newPot += std::min( ensureSquareDistance<Distance>(dist), closestDistSq[i] ); in chooseCentersKMeanspp()248 if ((bestNewPot < 0)||(newPot < bestNewPot)) { in chooseCentersKMeanspp()249 bestNewPot = newPot; in chooseCentersKMeanspp()318 double newPot = 0; in GroupWiseCenterChooser() local320 … newPot += std::min( distance(dataset[dsindices[i]], dataset[dsindices[index]], dataset.cols) in GroupWiseCenterChooser()325 if ((bestNewPot < 0)||(newPot <= bestNewPot)) { in GroupWiseCenterChooser()326 bestNewPot = newPot; in GroupWiseCenterChooser()
238 double newPot = 0; in chooseCentersKMeanspp() local241 newPot += std::min( ensureSquareDistance<Distance>(dist), closestDistSq[i] ); in chooseCentersKMeanspp()245 if ((bestNewPot < 0)||(newPot < bestNewPot)) { in chooseCentersKMeanspp()246 bestNewPot = newPot; in chooseCentersKMeanspp()