Initializing help system before first use

set_start_based_duration

Purpose
If the task is allocated to this resource, the duration will take the given 'duration' value if the start of the task is between the given interval:
(t1 <= task.start <= t2) and (task.assign(r) = 1)task.duration = duration
This method can be called repeatedly to specify different durations on different intervals. Calling it successively with intersectings intervals will override existing values on the intersection. Also, propagation should not be called between successive calls.
Note: All values not included in any of the given intervals will be forbidden for the start variable.
Synopsis
procedure set_start_based_duration(resource: cpresource, task:cptask, t1:integer, t2:integer, duration:integer)
Arguments
resource 
a resource
task 
a task
t1 
The first interval extremity
t2 
The second interval extremity
duration 
The actual duration taken if the start is in the given interval
Related topics

© 2001-2024 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.