This method creates an instance of sequence variable on the set of interval variables defined by array a. An array of non-negative integer types is specified. Arrays a and types must be of the same size and interval variable a[i] will have type types[i] in the sequence variable. You can specify a name of your own choice.

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

Syntax

C#
public IIntervalSequenceVar IntervalSequenceVar(
	IIntervalVar[] a,
	int[] types,
	string name
)
Visual Basic
Public Function IntervalSequenceVar ( _
	a As IIntervalVar(), _
	types As Integer(), _
	name As String _
) As IIntervalSequenceVar

Parameters

a
Type: array<ILOG.Concert..::..IIntervalVar>[]()[][]
types
Type: array<System..::..Int32>[]()[][]
name
Type: System..::..String

See Also