dune-istl
2.9.0
|
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. More... | |
VertexIterator (const VertexDescriptor ¤t) | |
Constructor for end iterator. More... | |
VertexIterator & | increment () |
Preincrement operator. More... | |
bool | equals (const VertexIterator &other) const |
Equality iterator. More... | |
const VertexDescriptor & | dereference () const |
Get the descriptor of the current vertex. More... | |
EdgeIterator | begin () const |
Get an iterator over all edges starting at the current vertex. More... | |
EdgeIterator | end () const |
Get an iterator over all edges starting at the current vertex. More... | |
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.