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.

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

Syntax

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

Parameters

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

See Also