diff --git a/core/src/MyStrategy.java b/core/src/MyStrategy.java index cd509f3..fdfb141 100755 --- a/core/src/MyStrategy.java +++ b/core/src/MyStrategy.java @@ -783,7 +783,7 @@ private PlainArray calcMap(VehicleGroupInfo group) { //TODO improve logic at fin HashMap cornerPushersFiltered = new HashMap<>(cornersPushers); cornerPushersFiltered.keySet().removeIf(corner -> { for (Point2D facPoint : allFacCounts.keySet()) { - if (facPoint.squareDistance(corner) < 3 * 4 + 2) { + if (facPoint.squareDistance(corner) < maxDistanceSquare) { return true; } }