ResourcePool

constructor(parent: ModelElement, numResources: Int = 1, 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

name

the name of the pool


constructor(parent: ModelElement, resources: List<Resource>, name: String? = null)

Parameters

parent

the parent model element

resources

a list of resources to be included in the pool

name

the name of the pool