Represents a step
function that is defined everywhere on an interval
Namespace: ILOG.Concert
Assembly: oplall (in oplall.dll)
Syntax
| C# |
|---|
public interface INumToNumStepFunction |
Remarks
An instance of INumToNumStepFunction represents a step function that is defined everywhere on an interval [xMin, xMax). Each interval [x1, x2) on which the function has the same value is called a step.
Note that if n is the number of steps 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 steps of the function have the same value, these steps are merged so that the function is always represented with the minimal number of steps.