guidedTransport

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

pickupLocation

where the transporter should collect the entity, by default wherever the entity already is

loadingDelay

how long it takes to load the entity

unLoadingDelay

how long it takes to unload it

requestPriority

orders this request against others made at the same instant

loadingPriority

orders the loading delay against other events at the same instant

unLoadingPriority

orders the unloading delay likewise

suspensionName

names this suspension point when a process has several