This method creates an alternative constraint between interval variable a and
the set of interval variables in the array bs with cardinality c.
If a is present, c intervals in bs
will be selected by the alternative constraint.
Namespace: ILOG.CP
Assembly: oplall (in oplall.dll)
Syntax
| C# |
|---|
public IAlternative Alternative( IIntervalVar a, IIntervalVar[] bs, IIntExpr c, string name ) |
Parameters
- bs
- Type: array<ILOG.Concert..::..IIntervalVar>[]()[][]
- c
- Type: ILOG.Concert..::..IIntExpr
- name
- Type: System..::..String