Searched refs:bestDistance (Results 1 – 4 of 4) 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()
1107 double bestDistance = Double.MAX_VALUE; in findNearestArea() local1190 if ((distance <= bestDistance && !contained) || in findNearestArea()1192 bestDistance = distance; in findNearestArea()1205 if (bestDistance == Double.MAX_VALUE) { in findNearestArea()1236 float bestDistance = Float.MAX_VALUE; in findNearestArea() local1261 if (Float.compare(distance, bestDistance) < 0 || in findNearestArea()1262 (Float.compare(distance, bestDistance) == 0 in findNearestArea()1264 bestDistance = distance; in findNearestArea()1273 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()