This method indicates if the state function f takes on a particular value as maintained by the invoking CP instance.

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

Syntax

C#
public bool IsFixed(
	IStateFunction f
)
Visual Basic
Public Function IsFixed ( _
	f As IStateFunction _
) As Boolean

Remarks

A state function f is said to be fixed if it defines a fixed value f(t) for all t in [CP.IIntervalMin,CP.IIntervalMax). When fixed, a state function is a stepwise function. If the state function is not defined, the value is CP.NoState, elsewhere the value is a non-negative integer.

For more information on state functions see the concept State Functions in the C++ Reference Manual.

See Also