My Project
|
This iterator goes through each edge of the graph. Its usage is quite simple, for example, you can count the number of edges in a graph g
of type Graph
as follows:
#include <lemon/concepts/graph.h>
Public Member Functions | |
EdgeIt () | |
Default constructor. | |
EdgeIt (const EdgeIt &e) | |
Copy constructor. | |
EdgeIt (Invalid) | |
Invalid constructor & conversion. | |
EdgeIt (const Graph &) | |
Sets the iterator to the first edge. | |
EdgeIt (const Graph &, const Edge &) | |
Sets the iterator to the given edge. | |
EdgeIt & | operator++ () |
Next edge. | |
|
inline |
Default constructor.
Sets the iterator to the given edge of the given graph.
|
inline |
Assign the iterator to the next edge.