The INumToNumSegmentFunctionCursor type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
GetSegmentMax |
This member function returns the right-most point of the segment currently specified by the cursor. |
|
|
GetSegmentMin |
This member function returns the left-most point of the segment currently specified by the cursor. |
|
|
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. |
|
|
GetValueLeft |
This member function returns the value of the function at the left-most point of the segment currently specified by the cursor. |
|
|
GetValueRight |
This member function returns the value of the function at the right-most point of the segment currently specified by the cursor. |
|
|
Next |
This operator moves the cursor to the segment adjacent to the current
step (forward move).
|
|
|
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.
|
|
|
Previous |
This operator moves the cursor to the segment adjacent to the current
step (backward move).
|
|
|
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. |