From 19cb21ece2fa8402502833a913634fa8c7e20c57 Mon Sep 17 00:00:00 2001 From: Stone_Red <56473591+Stone-Red-Code@users.noreply.github.com> Date: Fri, 14 Feb 2025 18:01:40 +0100 Subject: [PATCH] Turn off path randomization and penalize stretched rectangles --- src/LargeGridPathfinding/LargeGridPathfindingGame.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LargeGridPathfinding/LargeGridPathfindingGame.cs b/src/LargeGridPathfinding/LargeGridPathfindingGame.cs index 7a958f3..19a2edb 100644 --- a/src/LargeGridPathfinding/LargeGridPathfindingGame.cs +++ b/src/LargeGridPathfinding/LargeGridPathfindingGame.cs @@ -457,8 +457,8 @@ public class LargeGridPathfindingGame : Game int height = 1000; int agentCount = 10000; - bool pathRandomization = true; // 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 pathRandomization = false; // Randomize path costs to prevent agents from following the same path + 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++) {