Sage Modeling and Simulation Library

ResourceManager..::..ReserveBestResource Method

Determines and reserves the 'best' resource in the pool for the specified resource request. The determination is based on the access regulator agreeing that the requestor may request it, and the scoring algorithm in the resourceRequest providing the best score for the resource.

Namespace:  Highpoint.Sage.Resources
Assembly:  Sage4 (in Sage4.dll)


protected virtual bool ReserveBestResource(
	IResourceRequest resourceRequest


Type: Highpoint.Sage.Resources..::..IResourceRequest
The resource request that contains the description of the resource desired, and with the algorithm to apparaise the 'goodness' of each resource.

Return Value

true if a resource was successfully reserved.