Namespace: ILOG.Concert
Assembly: oplall (in oplall.dll)
Syntax
| C# |
|---|
public interface INumToNumSegmentFunction |
Remarks
An instance of INumToNumSegmentFunction represents a piecewise linear function that is defined everywhere on an interval [xMin, xMax). Each interval [x1, x2) on which the function is linear is called a segment.
Note that if n is the number of segments of the function, the random access to a given segment (see the member functions AddValue, GetArea, GetValue, SetValue) has a worst-case complexity in O(log(n)).
Furthermore, when two consecutive segments of the function are co-linear, these segments are merged so that the function is always represented with the minimal number of segments.