selectMovableResourceForAllocation
open override fun selectMovableResourceForAllocation( requestLocation: LocationIfc, resourceList: MutableList<MovableResource>): MovableResource
The method assumes that the provided list of resources has enough units available to satisfy the needs of the request.
Return
the amount to allocate from each resource as a map
Parameters
requestLocation
the location associated with the request. This information can be used to determine the allocation based on distances.
resourceList
list of resources to be allocated from