MovableResourcePool

constructor(parent: ModelElement, numResources: Int = 1, initLocation: LocationIfc, defaultVelocity: RandomIfc, name: String? = null)

Makes the specified number of single unit resources and includes them in the pool.

Author

rossetti

Parameters

parent

the parent model element

numResources

number of single unit resources to include in the pool

initLocation

the initial starting location of the resources within the spatial model

defaultVelocity

the default velocity for movement within the spatial model

name

the name of the pool


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

Parameters

parent

the parent model element

movableResources

a list of resources to be included in the pool

name

the name of the pool