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 VertexIterator interface Allows to access all vertices of a graph. Requires implementation to wrap th...
Definition: VertexIterator.hpp:15
bool next()
Test if there is a next item and if it is then updates the current to next.
Definition: NodeIterator.hpp:19
bool skip(const Vertex::Ptr &vertex) const
Definition: VertexIterator.cpp:5
T::graph_t::NodeIt mNodeIt
Definition: NodeIterator.hpp:37
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
Definition: NodeIterator.hpp:11
shared_ptr< Vertex > Ptr
Definition: Vertex.hpp:22
NodeIterator(const T &graph)
Definition: NodeIterator.hpp:14
const T & mGraph
Definition: NodeIterator.hpp:36
void setNext(const Vertex::Ptr &vertex)
Set next vertex Should be applied by class implementing next()
Definition: VertexIterator.hpp:49