Skip to content

Conversation

frievoe97
Copy link
Contributor

Previously, vehicles on a link were only stored in the queue (q). When vehicles returned to the link after an activity, they traveled on the link a second time.

However, in MATSim, there is a buffer and a waiting list in addition to the queue. Vehicles that are put back on the route after an activity are now added to the waiting list. Vehicles move from the queue and the waiting list to the buffer, with the waitingList taking priority (i.e., vehicles push themselves to the front).

@frievoe97 frievoe97 linked an issue Sep 15, 2025 that may be closed by this pull request
2 tasks
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.

Fix vehicle insertion and removal

1 participant