Expand description
Transit queue, dispatch, and dwell policies.
Structs§
- Capacity
Stop Queue Policy - Stop queue policy that enforces the stop’s soft capacity as a hard cap.
- Dispatch
Context - Dispatch request context for one route at one simulation time.
- Fifo
Boarding Policy - FIFO boarding policy with an optional per-stop-event boarding cap.
- Linear
Dwell Policy - Linear dwell policy backed by
DwellParams. - Scheduled
Dispatch Policy - Schedule-following dispatch policy with optional active-vehicle caps.
Enums§
- Dispatch
Decision - Decision returned by a dispatch policy.
Traits§
- Boarding
Policy - Policy for deciding which queued passengers board a vehicle.
- Dispatch
Policy - Policy that decides whether a route should dispatch a vehicle.
- Dwell
Policy - Policy for computing stop dwell times from passenger exchange counts.
- Stop
Queue Policy - Policy for admitting passengers to a stop queue.
Functions§
- board_
with_ policy - Apply a boarding policy to a queue and vehicle.