Home
last modified time | relevance | path

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

/external/opencv3/modules/flann/include/opencv2/flann/
Dhierarchical_clustering_index.h229 int bestNewIndex = 0; in chooseCentersKMeanspp() local
250 bestNewIndex = index; in chooseCentersKMeanspp()
255 centers[centerCount] = dsindices[bestNewIndex]; in chooseCentersKMeanspp()
258 …DistanceType dist = distance(dataset[dsindices[i]], dataset[dsindices[bestNewIndex]], dataset.cols… in chooseCentersKMeanspp()
310 int bestNewIndex = 0; in GroupWiseCenterChooser() local
327 bestNewIndex = index; in GroupWiseCenterChooser()
334 centers[centerCount] = dsindices[bestNewIndex]; in GroupWiseCenterChooser()
336 …stSq[i] = std::min( distance(dataset[dsindices[i]], dataset[dsindices[bestNewIndex]], dataset.cols) in GroupWiseCenterChooser()
Dkmeans_index.h226 int bestNewIndex = -1; in chooseCentersKMeanspp() local
247 bestNewIndex = index; in chooseCentersKMeanspp()
252 centers[centerCount] = indices[bestNewIndex]; in chooseCentersKMeanspp()
255 …DistanceType dist = distance_(dataset_[indices[i]], dataset_[indices[bestNewIndex]], dataset_.cols… in chooseCentersKMeanspp()