Fleet Vehicle CIfc
Controlled access to a vehicle a dispatcher commits to tasks: the four policies it carries, what it is doing, and how its time was spent.
The passive counterpart is ksl.modeling.guidedpath.GuidedTransporterCIfc, and the two report the same fractions of time on purpose -- moving, transporting, moving empty, blocked -- because the whole claim of the two-paradigm design is that one shop modelled either way gives one answer. A contract that reported them differently would make that claim unverifiable.
A FleetVehicle is not a ksl.modeling.entity.Resource: it is never seized, it is assigned. So there is no capacity here, and fracTimeOnTask is the quantity that takes utilization's place -- committed, whether moving or standing.
Inheritors
Properties
What it offers when a dispatcher runs an auction.
Loads aboard as a fraction of capacity, registered only for a multi-load vehicle.
The task it is committed to, or null.
Where it is, by name.
What it does when it has nothing to do.
Fraction of time stopped by space it could not have; flat zero on a free path.
Fraction of time travelling, loaded or empty.
Fraction of time travelling empty.
Fraction of time committed to a task, whether moving or standing.
Fraction of time travelling with a load aboard.
True when it has a task in hand.
What happens to the task in hand when the vehicle is interrupted.
True when it could take work: in service, not failed, and not already committed.
True while it has been taken out of service.
How many loads it may carry at once.
Loads carried per tour, registered only for a vehicle that may hold more than one.
Loads aboard over time, registered only for a multi-load vehicle.
How many times it was stopped by space it could not have.
Whether it is willing to serve a stop it has been offered.