setduration
setduration |
Purpose
A cptask is represented by three cpvar:
- 'start' representing the start time of the task
- 'end' representing the completion time of the task
- 'duration' representing the duration of the task.

Synopsis
procedure setduration(task:cptask, duration:integer)
procedure setduration(task:cptask, durationMin:integer, durationMax:integer)
Arguments
task
|
a task
|
duration
|
fixed duration of the task
|
durationMin
|
minimum duration for the task
|
durationMax
|
maximum duration for the task
|
Related topics