provides
A task provides some amount of processing power for a resource during its execution. The capacity provided is considered as renewable which means that whenever the providing task ends, the provided capacity is no longer available. Note that a minimal amount of 0 is possible thus allowing modeling of alternative resources. The type of resource provision can be defined in several ways:
- By specifying a resource and a constant provision parameter 'provision'. In this case the resource provision is constant over the execution of the task.
- By specifying a resource and minimal 'minProv' and maximal 'maxProv' provision parameters: In this case the resource provision is a decision variable but is constant over the execution of the task.
- By specifying a cpresusage 'usage' (see resusage for further detail).
- By a set of alternative cpresusage 'optUsages': This makes it possible to model alternative resources. The type of resource provision is defined by the resource usage passed in argument (see resusage for further detail).
- By a set of alternative cpresusage 'optUsages', a minimal 'minalt' and a maximal 'maxalt' number of alternative resources that must be provided: Between [minalt..maxalt] alternative provisions from the set will be active which means that several resources will be chosen to be provided by the task. The type of resource provision is defined by the resource usage passed in argument (see resusage for further detail).
procedure provides(task:cptask, provision:integer, resource:cpresource)
procedure provides(task:cptask, minProv:integer, maxProv:integer, resource:cpresource)
procedure provides(task:cptask, usage:cpresusage)
procedure provides(task:cptask, optUsages:set of cpresusage)
procedure provides(task:cptask, optUsages:set of cpresusage, minalt:integer, maxalt:integer)
task
|
the task
|
provision
|
constant positive resource consumption
|
minProv
|
minimal resource consumption
|
maxProv
|
maximal resource provision
|
resource
|
the resource to be provided
|
usage
|
the resource usage
|
optUsages
|
the set of alternatives resource provision
|
minalt
|
minimal number of resources that must be provided
|
maxalt
|
maximal number of resources that may be provided
|
© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.