This type is used to refer to a column of the LP.
Its value remains valid and correct even after the addition or erase of other columns.
#include <lemon/lp_base.h>
Public Member Functions | |
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. |
bool operator== | ( | Col | c | ) | const [inline] |
Two Cols are equal if and only if they point to the same LP column or both are invalid.
bool operator!= | ( | Col | c | ) | const [inline] |
bool operator< | ( | Col | c | ) | const [inline] |
To allow the use of this object in std::map or similar associative container we require this.