31.01.2014 Views

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>The</strong> purpose of each iterator is the same as in the corresponding standard iterator classes<br />

NodeIt, EdgeIt . . . <strong>The</strong> difference is the interface, which is exactly that of the STL iterator<br />

wrapper classe (see sect. 13.12 for more information).<br />

An example shows why these classes are useful (remember the example from the beginning):<br />

NodeIt_n base(G);<br />

for(NodeIt_n::iterator it=base.begin();it!=base.end(); ++it) {<br />

cout

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!