graphgen::undirected_graph::ilinks Class Reference

Iterator over all undirected links of a graph. More...

#include <iterator.hpp>

Collaboration diagram for graphgen::undirected_graph::ilinks:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ilinks (const G &g)
 create a link iterator for graph starting at link 0
 ilinks (const G &g, int i)
 create a link iterator for graph starting at link i
ilinksoperator++ ()
 advance to the next link
ilinksoperator-- ()
 go back to the previous link
bool valid ()
 check the iterator for link range violation
link_type operator[] (int i)
 random access by link index
link_type operator* ()
 dereference returns the link identifier


Detailed Description

Iterator over all undirected links of a graph.

Note, that in undirected_graph links are stored as pairs of directed, and ilinks will only give one part of the pair


The documentation for this class was generated from the following file:

Generated on Wed Jun 2 14:49:11 2010 for GraphGen by  doxygen 1.5.6