Skip to content

Honor route edge bounds for scheduled public transport - #20017

Open
M-Colley wants to merge 3 commits into
eclipse-sumo:mainfrom
M-Colley:codex/sumo-14547-bounded-public-transport
Open

M-Colley wants to merge 3 commits into
eclipse-sumo:mainfrom
M-Colley:codex/sumo-14547-bounded-public-transport

Conversation

@M-Colley

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

Copy link
Copy Markdown
Contributor

Summary

Apply departEdge and arrivalEdge to individually scheduled public transport vehicles on fixed routes. Resolve stop occurrences on the full route before applying those bounds. Register timetable legs only between calls the vehicle serves. Preserve the timetable and stop times across state reload.

Refs #14547 and #14550.

Evidence

On upstream main, the repeated-route fixture rejects a stop before the departure edge. The patched SUMO retains ten calls across two cycles and selects the full-route vehicle for a leg the partial trip cannot serve. The new TraCI regression and 38 targeted compatibility tests passed.

Direct microscopic and mesoscopic runs preserved arrival-only and mixed-route itineraries on reload, with a one-second load offset, and after a second save and reload. The controls preserved explicit repeated stop indices, checked a stop behind the departure position, and verified a transfer between two vehicles on the same line. The existing ptlines2flows multistart fixture ran with all three buses serving stops.

Merge Danger

Saved state contains the timetable for lines that use bounded trips. Legacy unbounded snapshots retained their existing itineraries in both simulation modes. Flow and duarouter support remain open under #14547.

M-Colley and others added 3 commits December 5, 2026 04:53
…-sumo#14547

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

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

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-14547-bounded-public-transport branch from fcca420 to 8bcee4f Compare December 5, 2026 03:53
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.

1 participant