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

Syntax

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

Parameters

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

See Also