Go to the documentation of this file. 1 #ifndef GRAPH_ANALYSIS_LEMON_NODE_ITERATOR_HPP
2 #define GRAPH_ANALYSIS_LEMON_NODE_ITERATOR_HPP
4 #include "../VertexIterator.hpp"
5 #include <lemon/core.h>
21 while(
mNodeIt != ::lemon::INVALID)
43 #endif // GRAPH_ANALYSIS_LEMON_NODE_ITERATOR_HPP
T::graph_t::NodeIt mNodeIt
Definition: NodeIterator.hpp:37
Definition: NodeIterator.hpp:11
bool next()
Test if there is a next item and if it is then updates the current to next.
Definition: NodeIterator.hpp:19
NodeIterator(const T &graph)
Definition: NodeIterator.hpp:14
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
const T & mGraph
Definition: NodeIterator.hpp:36
shared_ptr< Vertex > Ptr
Definition: Vertex.hpp:22
bool skip(const Vertex::Ptr &vertex) const
Definition: VertexIterator.cpp:5
void setNext(const Vertex::Ptr &vertex)
Set next vertex Should be applied by class implementing next()
Definition: VertexIterator.hpp:49
VertexIterator interface Allows to access all vertices of a graph. Requires implementation to wrap th...
Definition: VertexIterator.hpp:15