This method assumes that state function f is fixed. It returns the value of the corresponding stepwise non-negative function at point t.

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

Syntax

C#
public int GetValue(
	IStateFunction f,
	int t
)
Visual Basic
Public Function GetValue ( _
	f As IStateFunction, _
	t As Integer _
) As Integer

Parameters

f
Type: ILOG.Concert..::..IStateFunction
t
Type: System..::..Int32

Remarks

If the state function is not defined, the returned value is CP.NoState, elsewhere the returned value is a non-negative integer. An assertion is violated if state function f is not fixed or if t does not belong to the interval [CP.IntervalMin, CP.IntervalMax).

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

See Also