#include <iterator.hpp>

Public Member Functions | |
| isequence (const undirected_graph &g) | |
| create sequence iterator for given graph | |
| vertex_type | operator* () const |
| derefernce returns the graph vertex identifier | |
| isequence & | operator++ () |
| advance to the next vertex | |
| bool | operator== (const isequence &rhs) const |
| comparison of iterators returns true if iterators of the same graph object point to the same vertex | |
| bool | valid () const |
| test the validity of the iterator. | |
| link_type | via () const |
| return the link via that the iterator got to the vertex. | |
| bool graphgen::undirected_graph::isequence::valid | ( | ) | const [inline] |
test the validity of the iterator.
This must be used to avoid vertex range overflow
References graphgen::undirected_graph::nv().
| link_type graphgen::undirected_graph::isequence::via | ( | ) | const [inline] |
return the link via that the iterator got to the vertex.
This is not applicable for the sequence iterator, and thsu returns an invalid link identifier
1.5.6