HLIBpro
2.1
|
Class for iterating through adjacent nodes.
#include <TGraph.hh>
Public Member Functions | |
TIterator (const TGraph *graph, const idx_t pos, const idx_t end_pos) | |
bool | eol () const |
signal end of list | |
void | operator++ () |
iterate (prefix/postfix) | |
node_t | operator() () const |
access iterated data | |
idx_t | position () const |
return current iterator position | |
weight_t | edge_weight () const |
return edge weight associated with edge to neighbour | |