TimetableControl

Hold at each stop until its scheduled departure, measured from the start of the cycle.

A timetable, in the form a route service is usually specified in: not a wall-clock list of departure times but an elapsed time from the start of the round, which is what makes the same table serve every vehicle running the line whatever time it set out. A vehicle running early waits; a vehicle running late does not, because an instant already past does not hold anything — which is what a late service does, and is why the lateness shows up in the cycle time rather than being smoothed away.

Stops not in the table are served without holding.

Parameters

departures

how long after the cycle began each stop may be left

Constructors

Link copied to clipboard
constructor(departures: Map<Stop, Double>)

Functions

Link copied to clipboard
open suspend override fun KSLProcessBuilder.instruct(vehicle: FleetVehicle, stop: TourStop, tour: Tour): StopInstruction
Link copied to clipboard
open override fun toString(): String