Overview | Group | Tree | Graph | Index | Concepts |
An instance of the nested class IloExpr::LinearIterator is an iterator that traverses the linear part of an expression.
Method Summary | |
---|---|
public IloNum | getCoef() |
public IloNumVar | getVar() |
public IloBool | ok() |
public void | operator++() |
Method Detail |
---|
This member function returns the coefficient of the current term.
This member function returns the variable of the current term.
This member function returns IloTrue
if there is a current
element and the iterator points to it. Otherwise, it returns
IloFalse
.
This operator advances the iterator to point to the next term of the linear part of the expression.