This method returns a constraint that ensures that whenever
interval variable a is present state function
f is undefined everywhere between the start and the
end of interval variable a.
Namespace: ILOG.CP
Assembly: oplall (in oplall.dll)
Syntax
| C# |
|---|
public IConstraint AlwaysNoState( IStateFunction f, IIntervalVar a ) |
Remarks
This constraint will ensure, in particular, that no interval variable that requires the function to be defined (see AlwaysEqual, AlwaysConstant) can overlap interval variable a.
For more information on state functions, see the Concepts section of the C++ API Reference Manual.
Note: This constraint cannot be used in a logical constraint.