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: oplall (in oplall.dll)

Syntax

C#
public IIntervalSequenceVar IntervalSequenceVar(
	IIntervalVar[] a,
	int[] types
)

Parameters

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

See Also