Dispatcher Stop Control
Ask the dispatcher, and do what it says.
The driver on the radio. It consumes an instruction the controller left with ksl.modeling.fleet.Dispatcher.instruct and serves normally when there is none, which keeps the number of deciders at one: the controller decided, and the ask merely collects. That is the same shape a pending interruption has, and for the same reason.
It answers without consuming simulated time. A control that needs a decision epoch, an acknowledgement delay, or a radio queue is a subclass that suspends before returning.
Functions
Link copied to clipboard
open suspend override fun KSLProcessBuilder.instruct(vehicle: FleetVehicle, stop: TourStop, tour: Tour): StopInstruction