Iterator class for the arcs.
More...
#include <lemon/concepts/graph.h>
This iterator goes through each directed arc of the graph. Its usage is quite simple, for example, you can count the number of arcs in a graph g of type Graph as follows:
int count = 0;
++count;
Iterator class for the arcs.
Definition graph.h:490
const Invalid INVALID
Invalid iterators.
Definition base.cc:33
◆ ArcIt() [1/5]
Default constructor.
- Warning
- It sets the iterator to an undefined value.
◆ ArcIt() [2/5]
◆ ArcIt() [3/5]
Initializes the iterator to be invalid.
- See also
- Invalid for more details.
◆ ArcIt() [4/5]
Sets the iterator to the first arc of the given graph.
◆ ArcIt() [5/5]
Sets the iterator to the given arc of the given graph.
◆ operator=()
◆ operator++()
Assign the iterator to the next arc.