g
of type Graph
as follows: int count=0; for(Graph::UEdgeIt e(g); e!=INVALID; ++e) ++count;
#include <lemon/concepts/bpugraph.h>
Public Member Functions | |
UEdgeIt () | |
Default constructor. | |
UEdgeIt (const UEdgeIt &e) | |
UEdgeIt (Invalid) | |
UEdgeIt (const BpUGraph &) | |
UEdgeIt (const BpUGraph &, const UEdge &) | |
UEdge -> UEdgeIt conversion. | |
UEdgeIt & | operator++ () |
Next undirected edge. |
UEdgeIt | ( | ) | [inline] |
This constructor sets the iterator to the first undirected edge.
Sets the iterator to the value of the trivial iterator. This feature necessitates that each time we iterate the undirected edge-set, the iteration order is the same.
UEdgeIt& operator++ | ( | ) | [inline] |
Assign the iterator to the next undirected edge.