From d1b11d7e69db01806c68c6cfcf860ebb9cb410e9 Mon Sep 17 00:00:00 2001 From: ShiboSoftwareDev Date: Sun, 2 Aug 2026 23:45:57 +0200 Subject: [PATCH] experiment: retain directed guidance to the goal region --- lib/core.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/core.ts b/lib/core.ts index 748d6d6..2a1a394 100644 --- a/lib/core.ts +++ b/lib/core.ts @@ -1560,12 +1560,7 @@ export class TinyHyperGraphSolver extends BaseSolver { const routeId = this.state.currentRouteId! const directedHopCountToEnd = this.problemSetup.directedHopCountToEndByRoute[routeId] - const endPortId = this.problem.routeEndPort[routeId]! - - if ( - directedHopCountToEnd && - this.topology.portZ[neighborPortId] !== this.topology.portZ[endPortId] - ) { + if (directedHopCountToEnd) { const directedHopCount = getDirectedRouteHopCount( this.topology, directedHopCountToEnd,