Initializing help system before first use

getend

getend


Purpose
Retrieves the 'end' variable of a task.
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.
These three structural variables are linked with the following constraint: start + duration ≤ end.
The 'end' variable represents two specific parameters of the task: the Earliest Completion Time (ECT, represented by its lower bound) and its Latest Completion Time (LCT, represented by its upper bound). The graphic below illustrates these properties:
Scheduling/task.png
Synopsis
function getend(t:cptask) : cpvar
Argument
the task
Return value
The cpvar representing the completion time of t
Related topics