This class represents the undirected edges of the graph. Undirected graphs can be used as directed graphs, each edge is represented by two opposite directed arcs.
#include <lemon/concepts/graph_components.h>
Public Member Functions | |
Edge () | |
Default constructor. More... | |
Edge (const Edge &) | |
Copy constructor. More... | |
Edge (Invalid) | |
Constructor for conversion from INVALID . More... | |
Edge (const Arc &) | |
Constructor for conversion from an arc. More... | |
Public Member Functions inherited from GraphItem<'e'> | |
GraphItem () | |
Default constructor. More... | |
GraphItem (const GraphItem &) | |
Copy constructor. More... | |
GraphItem (Invalid) | |
Constructor for conversion from INVALID . More... | |
GraphItem & | operator= (const GraphItem &) |
Assignment operator. More... | |
GraphItem & | operator= (Invalid) |
Assignment operator for INVALID. More... | |
bool | operator== (const GraphItem &) const |
Equality operator. More... | |
bool | operator!= (const GraphItem &) const |
Inequality operator. More... | |
bool | operator< (const GraphItem &) const |
Ordering operator. More... | |
|
inline |
Default constructor.
Constructor for conversion from INVALID
. It initializes the item to be invalid.