Namespace: ILOG.CP
Assembly: oplall (in oplall.dll)
Syntax
| C# |
|---|
public virtual IStateFunction[] GetAllIStateFunctions() |
Remarks
This method returns an array of all state functions extracted by the invoking CP Optimizer engine. If the current model was not extracted or if it was changed since last extraction, this method will (re)extract it.
The main use case for this method is for accessing state functions in the case when the model was read from a file using ImportModel(String).
State functions returned by this method can be used, for example, to query solution values using functions such as GetValue(IStateFunction, Int32), GetNumberOfSegments(IStateFunction), GetSegmentStart(IStateFunction, Int32), GetSegmentEnd(IStateFunction, Int32).