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