|
latest version v1.9 - last update 24 Nov 2005 |
|
#include <ltiAdjacencyGraph.h>
Public Member Functions | |
| edge_iterator () | |
| edge_iterator (const edge_iterator &other) | |
| edge_iterator & | operator++ () |
| edge_iterator | operator++ (int) |
| edge_iterator & | operator-- () |
| edge_iterator | operator-- (int) |
| bool | operator== (const edge_iterator &other) const |
| bool | operator!= (const edge_iterator &other) const |
| edge_data_type & | operator * () |
| const edge_data_type & | operator * () const |
| edge_iterator & | operator= (const edge_iterator &other) |
Protected Member Functions | |
| edge_iterator (const typename row_type::iterator &startPos, const id_type node) | |
| const row_type::iterator & | getPos () const |
| entry_type & | getRWEntry () const |
| const entry_type & | getEntry () const |
| id_type | getNode () const |
This class is similar to the usual iterators of the STL. The iterator allows you to access the data the edge, but you can also get the next node's id for other kind of processing.
Since you got this iterator, you should know somehow which is the starting edge node.
To access the edge's data, use the operator* (for example, if it is an edge_iterator, get the data with (*it) ). To get the ids of the nodes or the weight of the edge, use the corresponding methods in the adjacencyGraph class.
|
|||||||||
|
Default constructor.
|
|
||||||||||
|
copy constructor
|
|
||||||||||||||||
|
protected constructor (for internal use only)
|
|
|||||||||
|
get complete matrix element entry for internal use only!!!
|
|
|||||||||
|
for internal use only!!!
|
|
|||||||||
|
for internal use only!!!
|
|
|||||||||
|
get complete matrix element entry for internal use only!!!
|
|
|||||||||
|
get pointed data
|
|
|||||||||
|
get pointed data
|
|
||||||||||
|
compare if both pointed positions are different
|
|
||||||||||
|
advance to next item
|
|
|||||||||
|
advance to next item
|
|
||||||||||
|
recede to previous item
|
|
|||||||||
|
recede to previous item // prefix
|
|
||||||||||
|
copy member
|
|
||||||||||
|
compare if both pointed positions are the same
|