|
dune-istl 2.10
|
The vertex iterator of the graph. More...
#include <dune/istl/paamg/graph.hh>

Public Member Functions | |
| VertexIterator (const SubGraph< G, T > *graph, const VertexDescriptor ¤t, const VertexDescriptor &end) | |
| Constructor. | |
| VertexIterator (const VertexDescriptor ¤t) | |
| Constructor for end iterator. | |
| VertexIterator & | increment () |
| Preincrement operator. | |
| bool | equals (const VertexIterator &other) const |
| Equality iterator. | |
| const VertexDescriptor & | dereference () const |
| Get the descriptor of the current vertex. | |
| EdgeIterator | begin () const |
| Get an iterator over all edges starting at the current vertex. | |
| EdgeIterator | end () const |
| Get an iterator over all edges starting at the current vertex. | |
The vertex iterator of the graph.
|
explicit |
Constructor.
| graph | The graph over whose vertices to iterate. |
| current | The position of the iterator. |
| end | The last vertex of the graph. |
|
explicit |
Constructor for end iterator.
Use with care! All operations except operator== or operator!= will fail!
| current | The position of the iterator. |
| EdgeIterator Dune::Amg::SubGraph< G, T >::VertexIterator::begin | ( | ) | const |
Get an iterator over all edges starting at the current vertex.
| const VertexDescriptor & Dune::Amg::SubGraph< G, T >::VertexIterator::dereference | ( | ) | const |
Get the descriptor of the current vertex.
| EdgeIterator Dune::Amg::SubGraph< G, T >::VertexIterator::end | ( | ) | const |
Get an iterator over all edges starting at the current vertex.
| bool Dune::Amg::SubGraph< G, T >::VertexIterator::equals | ( | const VertexIterator & | other | ) | const |
Equality iterator.
| VertexIterator & Dune::Amg::SubGraph< G, T >::VertexIterator::increment | ( | ) |
Preincrement operator.