selectMovableResourceForAllocation

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