transportWith

open suspend fun transportWith(movableResource: MovableResource, toLoc: LocationIfc, emptyVelocity: Double = movableResource.velocity.value, transportVelocity: Double = movableResource.velocity.value, transportQ: RequestQ, loadingDelay: GetValueIfc = ConstantRV.ZERO, unLoadingDelay: GetValueIfc = ConstantRV.ZERO, requestPriority: Int = PRIORITY, emptyMovePriority: Int = PRIORITY, loadingPriority: Int = PRIORITY, transportPriority: Int = PRIORITY, unLoadingPriority: Int = PRIORITY)

Causes transport of the entity via the movable resource from the entity's current location to the specified location at the supplied velocities. If not specified, the default velocity of the movable resource is used for the movement.

Parameters

movableResource

, the spatial element that will be moved

toLoc

the location to which the entity is supposed to move

emptyVelocity

the velocity associated with the movement to the entity's location

transportVelocity

the velocity associated with the movement to the desired location

transportQ

the queue that the entity waits in if the resource is busy

requestPriority

, a priority can be used to determine the order of events for requests for transport

emptyMovePriority

, since the move is scheduled, a priority can be used to determine the order of events for moves that might be scheduled to complete at the same time.

transportPriority

, since the move is scheduled, a priority can be used to determine the order of events for moves that might be scheduled to complete at the same time.


open suspend fun transportWith(movableResourceWithQ: MovableResourceWithQ, toLoc: LocationIfc, emptyVelocity: Double = movableResourceWithQ.velocity.value, transportVelocity: Double = movableResourceWithQ.velocity.value, loadingDelay: GetValueIfc = ConstantRV.ZERO, unLoadingDelay: GetValueIfc = ConstantRV.ZERO, requestPriority: Int = PRIORITY, emptyMovePriority: Int = PRIORITY, loadingPriority: Int = PRIORITY, transportPriority: Int = PRIORITY, unLoadingPriority: Int = PRIORITY)

Causes transport of the entity via the movable resource from the entity's current location to the specified location at the supplied velocities. If not specified, the default velocity of the movable resource is used for the movement.

Parameters

movableResourceWithQ

, the spatial element that will be moved

toLoc

the location to which the entity is supposed to move

emptyVelocity

the velocity associated with the movement to the entity's location

transportVelocity

the velocity associated with the movement to the desired location

requestPriority

, a priority can be used to determine the order of events for requests for transport

emptyMovePriority

, since the move is scheduled, a priority can be used to determine the order of events for moves that might be scheduled to complete at the same time.

transportPriority

, since the move is scheduled, a priority can be used to determine the order of events for moves that might be scheduled to complete at the same time.


open suspend fun transportWith(fleet: MovableResourcePool, toLoc: LocationIfc, emptyVelocity: Double = fleet.velocity.value, transportVelocity: Double = fleet.velocity.value, transportQ: RequestQ, loadingDelay: GetValueIfc = ConstantRV.ZERO, unLoadingDelay: GetValueIfc = ConstantRV.ZERO, requestPriority: Int = PRIORITY, emptyMovePriority: Int = PRIORITY, loadingPriority: Int = PRIORITY, transportPriority: Int = PRIORITY, unLoadingPriority: Int = PRIORITY)
open suspend fun transportWith(fleet: MovableResourcePoolWithQ, toLoc: LocationIfc, emptyVelocity: Double = fleet.velocity.value, transportVelocity: Double = fleet.velocity.value, loadingDelay: GetValueIfc = ConstantRV.ZERO, unLoadingDelay: GetValueIfc = ConstantRV.ZERO, requestPriority: Int = PRIORITY, emptyMovePriority: Int = PRIORITY, loadingPriority: Int = PRIORITY, transportPriority: Int = PRIORITY, unLoadingPriority: Int = PRIORITY)

Causes transport of the entity via a movable resource within the fleet from the entity's current location to the specified location at the supplied velocities. If not specified, the default velocity of the movable resource is used for the movement.

Parameters

fleet

, the pool of movable resources

toLoc

the location to which the entity is supposed to move

emptyVelocity

the velocity associated with the movement to the entity's location

transportVelocity

the velocity associated with the movement to the desired location

requestPriority

, a priority can be used to determine the order of events for requests for transport

emptyMovePriority

, since the move is scheduled, a priority can be used to determine the order of events for moves that might be scheduled to complete at the same time.

transportPriority

, since the move is scheduled, a priority can be used to determine the order of events for moves that might be scheduled to complete at the same time.