GuidedTransporterPoolCIfc

Controlled access to a pool of transporters: the fleet, where entities wait for it, and the two rules that decide which one is sent and where it waits afterwards.

Shaped after ksl.modeling.entity.ResourcePoolCIfc, which likewise carries its selection and allocation rules: which rule a pool runs is part of what a modeller configures, not an internal, so it belongs in the contract rather than behind it. Each rule appears twice here, once as the object and once by name, because a study that sweeps a rule wants the name and a model that builds one wants the object.

Inheritors

Properties

Link copied to clipboard

Which idle transporter is sent to a pickup. Substitutable while the model is not running.

Link copied to clipboard

The allocation rule by name, for a study that sweeps it as an input.

Link copied to clipboard

The transporters a movement gate is holding, or that are under tow.

Link copied to clipboard

True when some transporter of the pool could be sent now.

Link copied to clipboard

What a released transporter does when nothing is waiting for it.

Link copied to clipboard

The disposition rule by name, for a study that sweeps it as an input.

Link copied to clipboard

The transporters that could be sent right now: allocated to nobody, and able to move.

Link copied to clipboard
abstract val numAvailableUnits: Int

How many transporters the pool could actually send.

Link copied to clipboard

The fleet, in declaration order, which is the order ties are broken in.

Link copied to clipboard

Where entities wait for a transporter of this pool.