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()
1224 double bestDistance = Double.MAX_VALUE; in findNearestArea() local1307 if ((distance <= bestDistance && !contained) || in findNearestArea()1309 bestDistance = distance; in findNearestArea()1322 if (bestDistance == Double.MAX_VALUE) { in findNearestArea()1355 float bestDistance = Float.MAX_VALUE; in findNearestArea() local1384 Float.compare(distance, bestDistance) < 0 || (Float.compare(distance, in findNearestArea()1385 bestDistance) == 0 && curDirectionScore > bestDirectionScore)) { in findNearestArea()1386 bestDistance = distance; in findNearestArea()1395 if (bestDistance == Float.MAX_VALUE) { in findNearestArea()
1388 double bestDistance = Double.MAX_VALUE; in findNearestArea() local1472 if ((distance <= bestDistance && !contained) || in findNearestArea()1474 bestDistance = distance; in findNearestArea()1489 if (bestDistance == Double.MAX_VALUE) { in findNearestArea()1522 float bestDistance = Float.MAX_VALUE; in findNearestArea() local1552 Float.compare(distance, bestDistance) < 0 || (Float.compare(distance, in findNearestArea()1553 bestDistance) == 0 && curDirectionScore > bestDirectionScore)) { in findNearestArea()1554 bestDistance = distance; in findNearestArea()1563 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()