This method assumes that interval sequence variable seq is fixed. It returns the interval variable at the last position in the sequence.

Namespace: ILOG.CP
Assembly: ILOG.CP (in ILOG.CP.dll)

Syntax

C#
public IIntervalVar GetLast(
	IIntervalSequenceVar seq
)
Visual Basic
Public Function GetLast ( _
	seq As IIntervalSequenceVar _
) As IIntervalVar

Remarks

The returned interval variable is necessarily present. If all interval variables of the sequence are absent, it returns an empty handle. An assertion is violated if the sequence seq is not fixed. This method can be used to print the reverse total order corresponding to the sequence value. For more information on interval sequence variables, see the Concepts section of the C++ API Reference Manual.

See Also