Interval Variables: Start, Size, End
Introduction to interval variables in constraint programming. An interval variable models a task by its start , size , and end , linked by the fundamental relation . We learn to compute any one quantity from the other two, and to propagate bounds among their domains.
Step 1 of 157%
Tutorial
Introduction
In constraint programming, an interval variable models a task that occupies a contiguous span of time. Every interval variable has three attributes:
- the start — the time the task begins,
- the size — the duration of the task,
- the end — the time the task finishes.
These attributes are linked by the fundamental relation
For example, a task that starts at and has size ends at
and we picture the task as occupying the time slots from up to (but not including) .