Go to the documentation of this file. 1 #ifndef GRAPH_ANALYSIS_LEMON_ARC_ITERATOR_HPP
2 #define GRAPH_ANALYSIS_LEMON_ARC_ITERATOR_HPP
4 #include "../EdgeIterator.hpp"
5 #include "../Vertex.hpp"
21 while(
mArcIt != ::lemon::INVALID )
47 ,
mOutArcIt(graph.raw(), graph.raw().nodeFromId( vertex->getId(graph.getId())))
79 ,
mInArcIt(graph.raw(), graph.raw().nodeFromId( vertex->getId(graph.getId())))
84 while(
mInArcIt != ::lemon::INVALID )
142 #endif // GRAPH_ANALYSIS_LEMON_ARC_ITERATOR_HPP
OutArcIterator(const T &graph, Vertex::Ptr vertex)
Definition: ArcIterator.hpp:45
T::graph_t::ArcIt mArcIt
Definition: ArcIterator.hpp:37
T::graph_t::OutArcIt mOutArcIt
Definition: ArcIterator.hpp:68
bool skip(const Edge::Ptr &edge) const
Check if edge should be skipped.
Definition: EdgeIterator.cpp:5
bool next()
Test if there is a next item and if it is then updates the current to next.
Definition: ArcIterator.hpp:50
bool next()
Test if there is a next item and if it is then updates the current to next.
Definition: ArcIterator.hpp:19
Definition: ArcIterator.hpp:11
InArcIterator(const T &graph, Vertex::Ptr vertex)
Definition: ArcIterator.hpp:77
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
shared_ptr< Edge > Ptr
Definition: Edge.hpp:21
const T & mGraph
Definition: ArcIterator.hpp:67
T::graph_t::InArcIt mInArcIt
Definition: ArcIterator.hpp:100
Definition: ArcIterator.hpp:74
Definition: ArcIterator.hpp:42
shared_ptr< Vertex > Ptr
Definition: Vertex.hpp:22
EdgeIterator interface Allows to access all edges of a graph. Requires implementation to wrap the und...
Definition: EdgeIterator.hpp:14
bool next()
Test if there is a next item and if it is then updates the current to next.
Definition: ArcIterator.hpp:82
const T & mGraph
Definition: ArcIterator.hpp:99
const T & mGraph
Definition: ArcIterator.hpp:36
InArcIterator< T > mInArcIterator
Definition: ArcIterator.hpp:135
ArcIterator(const T &graph)
Definition: ArcIterator.hpp:14
Definition: ArcIterator.hpp:106
void setNext(const Edge::Ptr &edge)
Set next edge Should be applied by class implementing next()
Definition: EdgeIterator.hpp:48
InOutArcIterator(const T &graph, Vertex::Ptr vertex)
Definition: ArcIterator.hpp:109
OutArcIterator< T > mOutArcIterator
Definition: ArcIterator.hpp:136
bool next()
Test if there is a next item and if it is then updates the current to next.
Definition: ArcIterator.hpp:115
const T & mGraph
Definition: ArcIterator.hpp:134