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