| Overview | Group | Tree | Graph | Deprecated | Index | Concepts |
This function returns an integer expression that represents
the length of the interval variable that is next to interval
a in sequence variable seq. When
interval a is present and is the last interval of
sequence seq, it returns the constant integer value
lastVal. When interval a is absent, it
returns 0.
For more information on interval variable sequencing, see the concept Interval variable sequencing in CP Optimizer.
This function returns an integer expression that represents
the length of the interval variable that is next to interval
a in sequence variable seq. When
interval a is present and is the last interval of
sequence seq, it returns the constant integer value
lastVal. When interval a is absent, it
returns the constant integer value absVal.
For more information on interval variable sequencing, see the concept Interval variable sequencing in CP Optimizer.