guided Transport
open suspend fun guidedTransport(pool: GuidedTransporterPoolWithQ, destination: String, pickupLocation: String = entity.currentLocation.name, loadingDelay: GetValueIfc = ConstantRV.ZERO, unLoadingDelay: GetValueIfc = ConstantRV.ZERO, requestPriority: Int = TRANSPORT_REQUEST_PRIORITY, loadingPriority: Int = DELAY_PRIORITY, unLoadingPriority: Int = DELAY_PRIORITY, suspensionName: String? = null): GuidedTransportResult(source)
Asks for a transporter, is carried to a destination, and gives the transporter back.
The whole of an ordinary transport in one call, and the form most models want. Where a process has to do something between being loaded and being unloaded, use the three verbs it is built from instead.
Return
what the journey cost
Parameters
pool
the transporters to ask
destination
the junction or station to be carried to
pickup Location
where the transporter should collect the entity, by default wherever the entity already is
loading Delay
how long it takes to load the entity
un Loading Delay
how long it takes to unload it
request Priority
orders this request against others made at the same instant
loading Priority
orders the loading delay against other events at the same instant
un Loading Priority
orders the unloading delay likewise
suspension Name
names this suspension point when a process has several