Movable Resource Pool
A MovableResourcePool represents a list of movable resources 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. The default allocation rule is to allocate the movable resource that is closest to the entity.
If no default rules are supplied, the first available movable resource is selected based on the order of the resources supplied.
Author
rossetti
Parameters
the parent model element
a list of resources to be included in the pool
the default velocity fore all resources to use.
the name of the pool
Inheritors
Constructors
Properties
Functions
Adds a movable resource to the pool. The model must not be running when adding a resource.
It is an error to attempt to allocate a movable resource unit to an entity if there are insufficient units available at the time of allocation.
For use, before calling allocate()