Home
last modified time | relevance | path

Searched refs:newPot (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/modules/flann/include/opencv2/flann/
Dhierarchical_clustering_index.h241 double newPot = 0; in chooseCentersKMeanspp() local
244 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() local
320newPot += 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()
Dkmeans_index.h238 double newPot = 0; in chooseCentersKMeanspp() local
241 newPot += std::min( ensureSquareDistance<Distance>(dist), closestDistSq[i] ); in chooseCentersKMeanspp()
245 if ((bestNewPot < 0)||(newPot < bestNewPot)) { in chooseCentersKMeanspp()
246 bestNewPot = newPot; in chooseCentersKMeanspp()