#include <iterator.hpp>

Public Member Functions | |
| idepth (const undirected_graph &g, vertex_type root) | |
| create depth first iterator for graph and specified root/start vertex | |
| idepth (const undirected_graph &g) | |
| create depth first iterator for graph and root vertex 0 | |
| vertex_type | operator* () const |
| dereference returns the vertex identifier of the actual vertex | |
| idepth & | operator++ () |
| advance to the next vertex in the depth first sequence | |
| bool | operator== (idepth &rhs) const |
| comparison of iterators returns true if both point to the same vertex of the same graph object. | |
| link_type | via () const |
| return the link that lead to the actual vertex | |
| bool | valid () const |
| test the iterator validity. | |
While iterating, all vertices of the given connected subgraph will be visited according to the depth first search algorithm.
| bool graphgen::undirected_graph::idepth::operator== | ( | idepth & | rhs | ) | const [inline] |
| bool graphgen::undirected_graph::idepth::valid | ( | ) | const [inline] |
test the iterator validity.
Use this to avoid vertex identifier range violation
1.5.6