This class identifies a node of the digraph. It also serves as a base class of the node iterators, thus they will convert to this type.
#include <lemon/concepts/digraph.h>
Public Member Functions | |
Node () | |
Default constructor. | |
Node (const Node &) | |
Node (Invalid) | |
Invalid constructor & conversion. | |
bool | operator== (Node) const |
Equality operator. | |
bool | operator!= (Node) const |
Inequality operator. | |
bool | operator< (Node) const |
Artificial ordering operator. |
Node | ( | ) | [inline] |
This constructor initializes the iterator to be invalid.
bool operator== | ( | Node | ) | const [inline] |
Two iterators are equal if and only if they point to the same object or both are invalid.
bool operator!= | ( | Node | ) | const [inline] |
bool operator< | ( | Node | ) | const [inline] |
To allow the use of digraph descriptors as key type in std::map or similar associative container we require this.