Movable Resource Pool With Q
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
the parent model element
a list of resources to be included in the pool
the default velocity for movement within the spatial model
the queue for the pool
the name of the pool
Constructors
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.