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. | |
Edge (const Edge &) | |
Edge (Invalid) | |
Constructor for conversion from INVALID . | |
Edge (const Arc &) | |
Constructor for conversion from an arc. | |
Public Member Functions inherited from GraphItem<'e'> | |
GraphItem () | |
Default constructor. | |
GraphItem (const GraphItem &) | |
GraphItem (Invalid) | |
Constructor for conversion from INVALID . | |
GraphItem & | operator= (const GraphItem &) |
Assignment operator. | |
GraphItem & | operator= (Invalid) |
Assignment operator for INVALID. | |
bool | operator== (const GraphItem &) const |
bool | operator!= (const GraphItem &) const |
bool | operator< (const GraphItem &) const |
Ordering operator. | |
|
inline |
Default constructor.
Constructor for conversion from INVALID
. It initializes the item to be invalid.