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