|
graph_analysis
|
EdgeIterator interface Allows to access all edges of a graph. Requires implementation to wrap the underlying graph library in use. More...
#include <EdgeIterator.hpp>

Public Types | |
| typedef shared_ptr< EdgeIterator > | Ptr |
| typedef function1< bool, const Edge::Ptr & > | SkipFunction |
Public Member Functions | |
| virtual | ~EdgeIterator () |
| virtual bool | next () |
| Test if there is a next item and if it is then updates the current to next. More... | |
| const Edge::Ptr & | current () |
Protected Member Functions | |
| bool | skip (const Edge::Ptr &edge) const |
| Check if edge should be skipped. More... | |
| void | setNext (const Edge::Ptr &edge) |
| Set next edge Should be applied by class implementing next() More... | |
| void | setSkipFunction (SkipFunction skipFunction) |
Friends | |
| class | SubGraph |
EdgeIterator interface Allows to access all edges of a graph. Requires implementation to wrap the underlying graph library in use.
| typedef shared_ptr<EdgeIterator> graph_analysis::EdgeIterator::Ptr |
| typedef function1<bool, const Edge::Ptr&> graph_analysis::EdgeIterator::SkipFunction |
|
inlinevirtual |
|
inline |
Retrieve the current edge this iterator is pointing to
|
inlinevirtual |
Test if there is a next item and if it is then updates the current to next.
| std::runtime_error | if not implemented by subclass |
Reimplemented in graph_analysis::boost_graph::InOutArcIterator< T >, graph_analysis::boost_graph::InArcIterator< T >, graph_analysis::snap::InOutEdgeIterator< T >, graph_analysis::lemon::InOutArcIterator< T >, graph_analysis::snap::InEdgeIterator< T >, graph_analysis::lemon::InArcIterator< T >, graph_analysis::boost_graph::OutArcIterator< T >, graph_analysis::lemon::OutArcIterator< T >, graph_analysis::snap::OutEdgeIterator< T >, graph_analysis::boost_graph::ArcIterator< T >, graph_analysis::lemon::ArcIterator< T >, and graph_analysis::snap::EdgeIterator< T >.
|
inlineprotected |
Set next edge Should be applied by class implementing next()
|
inlineprotected |
|
protected |
Check if edge should be skipped.
|
friend |
1.8.13