select Requests
abstract fun selectRequests(resource: ResourceIfc, requestQ: RequestQ): List<ProcessModel.Entity.Request>(source)
Determines the requests that can be allocated from the specified amount available from the request queue. The total amount requested by the returned requests must not exceed the amount available.
Return
the requests that were selected
Parameters
resource
the resource to select requests for
request Q
the queue to search