DispositionPolicyIfc

Decides what an idle vehicle does with itself.

Consulted only after the dispatcher has been given the chance to assign and has declined, so no disposition policy can cause a vehicle to idle while work waits. That guarantee is structural -- the branch that consults this interface is unreachable until the dispatcher has passed -- rather than a rule an implementer could break.

Inheritors

Functions

Link copied to clipboard
abstract fun disposition(vehicle: FleetVehicle): Disposition