This method assumes that interval sequence variable seq is fixed.
It returns the interval variable that immediately follows interval a in the sequence.
Namespace: ILOG.CP
Assembly: ILOG.CP (in ILOG.CP.dll)
Syntax
| C# |
|---|
public IIntervalVar GetNext( IIntervalSequenceVar seq, IIntervalVar a ) |
| Visual Basic |
|---|
Public Function GetNext ( _ seq As IIntervalSequenceVar, _ a As IIntervalVar _ ) As IIntervalVar |
Remarks
The returned interval variable is necessarily present. An assertion is violated if a
is absent or is not an interval variable of sequence seq and if the sequence is not
fixed. If a is at the last position of the sequence, the function returns an empty
handle. This method can be used to print the total order corresponding to the sequence
value.
For more information on interval sequence variables, see the Concepts
section of the C++ API Reference Manual.