createMovableResources

fun createMovableResources(parent: ModelElement, numToCreate: Int, initLocation: LocationIfc, defaultVelocity: RandomIfc, baseName: String? = parent.name): List<MovableResource>

Creates the required number of movable resources that have no queue.

Parameters

parent

the containing model element

numToCreate

the number of resources to create, must be 1 or more

initLocation

the initial starting location of the resource within the spatial model

defaultVelocity

the default velocity for movement within the spatial model