Searched refs:bestDistance (Results 1 – 5 of 5) sorted by relevance
252 float bestDistance = Float.MAX_VALUE; in kMeans() local263 if (distance < bestDistance) { in kMeans()264 bestDistance = distance; in kMeans()272 totalDistance += bestDistance; in kMeans()
605 float bestDistance = Float.MAX_VALUE; in findNearestArea() local631 if (Float.compare(distance, bestDistance) < 0 || (Float.compare(distance, in findNearestArea()632 bestDistance) == 0 && curDirectionScore > bestDirectionScore)) { in findNearestArea()633 bestDistance = distance; in findNearestArea()642 if (bestDistance == Float.MAX_VALUE) { in findNearestArea()
854 int bestDistance = -1; in getEmptyBlock() local871 if (dist > bestDistance) { in getEmptyBlock()872 bestDistance = dist; in getEmptyBlock()
373 double bestDistance = Double.MAX_VALUE; in moveFocus() local381 if (bestDistance > distance) { in moveFocus()382 bestDistance = distance; in moveFocus()
1252 double bestDistance = Double.MAX_VALUE; in findNearestArea() local1331 if ((distance <= bestDistance && !contained) || in findNearestArea()1333 bestDistance = distance; in findNearestArea()1346 if (bestDistance == Double.MAX_VALUE) { in findNearestArea()