MovableResourcePoolWithQ

class MovableResourcePoolWithQ(parent: ModelElement, movableResources: List<MovableResource>, defaultVelocity: RVariableIfc, queue: RequestQ? = null, name: String? = null) : MovableResourcePool, VelocityIfc(source)

A MovableResourcePool represents a list of MovableResource from which resources can be selected to fill requests made by Entities.

Resources are selected according to a ResourceSelectionRule. The assumption is that any of the resources within the pool may be used to fill the request.

If no selection rule is supplied the pool selects a list of resources that can fully satisfy the request and makes allocations to the resources based on the order in which they are listed in the pool.

Author

rossetti

Parameters

parent

the parent model element

movableResources

a list of resources to be included in the pool

defaultVelocity

the default velocity for movement within the spatial model

queue

the queue for the pool

name

the name of the pool

Constructors

Link copied to clipboard
constructor(parent: ModelElement, numUnits: Int, initLocation: LocationIfc, defaultVelocity: RVariableIfc, queue: RequestQ? = null, name: String? = null)

Creates the required number of movable resources for the pool. All created movable resources have the same initial starting location. The pool uses the supplied queue.

constructor(parent: ModelElement, movableResources: List<MovableResource>, defaultVelocity: RVariableIfc, queue: RequestQ? = null, name: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard