Movable Resource Pool With Q
constructor(parent: ModelElement, numUnits: Int, initLocation: LocationIfc, defaultVelocity: RandomIfc, 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.
Parameters
parent
the containing model element
num Units
the number of resources to create, must be 1 or more
init Location
the initial starting location of the resource within the spatial model
default Velocity
the default velocity for movement within the spatial model
queue
the queue for the pool
name
the name of the pool
constructor(parent: ModelElement, movableResources: List<MovableResource>, defaultVelocity: RandomIfc, queue: RequestQ? = null, name: String? = null)
Parameters
parent
the parent model element
movable Resources
a list of resources to be included in the pool
default Velocity
the default velocity for movement within the spatial model
queue
the queue for the pool
name
the name of the pool