From 34e511deb3c153c5191b34635f984d2a59da3059 Mon Sep 17 00:00:00 2001 From: scamiv <6170744+scamiv@users.noreply.github.com> Date: Sat, 22 Nov 2025 21:28:26 +0100 Subject: [PATCH] reduce train max hops --- src/core/execution/TrainExecution.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/execution/TrainExecution.ts b/src/core/execution/TrainExecution.ts index 6840b4542..9eda74319 100644 --- a/src/core/execution/TrainExecution.ts +++ b/src/core/execution/TrainExecution.ts @@ -35,8 +35,8 @@ export class TrainExecution implements Execution { // Local greedy routing properties private recentStations: TrainStation[] = []; // Recently visited stations (for loop prevention) - private maxHops: number = 50; // Maximum hops before giving up - private recentMemorySize: number = 50; // How many recent stations to remember + private maxHops: number = 25; // Maximum hops before giving up + private recentMemorySize: number = 25; // How many recent stations to remember constructor( private railNetwork: RailNetwork,