This method assumes that the cumul function expression
f is fixed. It returns the value of the
ith segment of the cumul function expression f.
Namespace: ILOG.CP
Assembly: ILOG.CP (in ILOG.CP.dll)
Syntax
| C# |
|---|
public int GetSegmentValue( ICumulFunctionExpr f, int i ) |
| Visual Basic |
|---|
Public Function GetSegmentValue ( _ f As ICumulFunctionExpr, _ i As Integer _ ) As Integer |
Remarks
A segment is an interval [start, end) on which the value of f is constant. If n is the number of segments of the function segments are indexed starting from 0 so index i should belong to the range [0,n). An exception is thrown if i is not a valid segment index or f is not fixed.