Its usage is quite simple, for example, you can count the number of rows in an LP lp:
#include <lemon/lp_base.h>
Public Member Functions | |
RowIt () | |
Default constructor. | |
RowIt (const LpBase &solver) | |
RowIt (const Invalid &) | |
Invalid constructor & conversion. | |
RowIt & | operator++ () |
Next row. | |
![]() | |
Row () | |
Default constructor. | |
Row (const Invalid &) | |
Invalid constructor & conversion. | |
bool | operator== (Row r) const |
Equality operator. | |
bool | operator!= (Row r) const |
Inequality operator. | |
bool | operator< (Row r) const |
Artificial ordering operator. | |
|
inline |
Initialize the iterator to be invalid.
|
inline |
Assign the iterator to the next row.