Fixed-Size vs. Variable-Size Intervals

Distinguishes between fixed-size interval variables (whose size is locked to a single value) and variable-size interval variables (whose size ranges over an interval). Computes domains of the end given domains of the start and size, and tightens domains in the presence of release dates and deadlines.

Step 1 of 157%

Tutorial

Fixed-Size Intervals

An interval variable consists of three quantities: a start ss, a size dd, and an end ee, related by

e=s+d.e = s + d.

A fixed-size interval is an interval variable whose size dd is locked to a single value cc. Once the size is fixed, the end is fully determined by the start:

e=s+c.e = s + c.

If the start ranges over [smin,smax][s_{\min}, s_{\max}], then the end ranges over [smin+c,  smax+c][s_{\min} + c, \; s_{\max} + c] -- a shift of the start domain by cc.

For example, suppose an interval has fixed size d=4d = 4 and start domain s[1,8]s \in [1, 8]. Then

e[1+4,  8+4]=[5,12].e \in [1+4, \; 8+4] = [5, 12].

And if we choose s=3s = 3, the end is locked to e=3+4=7e = 3 + 4 = 7.

navigate · Enter open · Esc close · ⌘K/Ctrl K toggle