The INumToNumSegmentFunctionCursor type exposes the following members.

Methods

  Name Description
Public method GetSegmentMax

This member function returns the right-most point of the segment currently specified by the cursor.

Public method GetSegmentMin

This member function returns the left-most point of the segment currently specified by the cursor.

Public method GetValue

This member function returns the value of the piecewise linear function at time t. t must be between the left-most and the right-most point of the segment currently specified by the cursor.

Public method GetValueLeft

This member function returns the value of the function at the left-most point of the segment currently specified by the cursor.

Public method GetValueRight

This member function returns the value of the function at the right-most point of the segment currently specified by the cursor.

Public method Next
This operator moves the cursor to the segment adjacent to the current step (forward move).
Public method Ok
This member function returns IloFalse if the cursor does not currently specify a segment included in the definition interval of the piecewise linear function. Otherwise, it returns IloTrue.
Public method Previous
This operator moves the cursor to the segment adjacent to the current step (backward move).
Public method Seek

This member function sets the cursor to specify the segment of the function that contains the argument. An IloException is thrown if the argument does not belong to the definition interval of the piecewise linear function associated with the invoking cursor.

See Also