Skip to content

Use railway routing for default TraCI travel-time queries - #20025

Open
M-Colley wants to merge 3 commits into
eclipse-sumo:mainfrom
M-Colley:codex/sumo-14756-traci-railway-routing
Open

M-Colley wants to merge 3 commits into
eclipse-sumo:mainfrom
M-Colley:codex/sumo-14756-traci-railway-routing

Conversation

@M-Colley

@M-Colley M-Colley commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Fixes #14756

Use the railway graph for default TraCI travel-time routing when a train can reverse on the network. The default and aggregated routers share the railway topology. They retain their own cost sources so that per-train and global TraCI weights still affect default routing.

The new regression reuses the duarouter reversal-detour network. On upstream main, findRoute, changeTarget, and rerouteTraveltime each chose a reversal on a track too short for the train. The patched routes use a feasible reversal and respond to adapted travel times.

Native SUMO and duarouter built. TextTest recorded 151 passes. Two results already marked with #6928 and one georeferencing failure with the local non-PROJ build also reproduce on stock. Mesoscopic routing, aggregate-first queries, and reload with reversals disabled were checked separately.

M-Colley and others added 3 commits December 5, 2026 04:56
…4756

Signed-off-by: Josh <39366189+M-Colley@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
…e-sumo#14756

Signed-off-by: Josh <39366189+M-Colley@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
Signed-off-by: Josh <39366189+M-Colley@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
@behrisch
behrisch force-pushed the codex/sumo-14756-traci-railway-routing branch from 7c7919f to bc71a56 Compare December 5, 2026 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

traci routing functions do not use railrouter

1 participant