Turn off path randomization and penalize stretched rectangles

This commit is contained in:
Stone_Red
2025-02-14 18:01:40 +01:00
parent a4d5cef869
commit 19cb21ece2
@@ -457,8 +457,8 @@ public class LargeGridPathfindingGame : Game
int height = 1000; int height = 1000;
int agentCount = 10000; int agentCount = 10000;
bool pathRandomization = true; // Randomize path costs to prevent agents from following the same path bool pathRandomization = false; // Randomize path costs to prevent agents from following the same path
bool penalizeStretchedRectangles = true; // (EXPERIMENTAL) Penalize paths that go through stretched rectangles to prevent too many agents in a small area bool penalizeStretchedRectangles = false; // (EXPERIMENTAL) Penalize paths that go through stretched rectangles to prevent too many agents in a small area
for (int i = 0; i < agentCount; i++) for (int i = 0; i < agentCount; i++)
{ {