A helper for boost::depth_first_search (DFS) usage with the purpose of detecting cycles. More...
#include <back_edge_detector.hpp>
Public Member Functions | |
back_edge_detector (Callback callback) | |
template<typename Graph > | |
void | back_edge (typename Graph::edge_descriptor edge, Graph &) |
Private Attributes | |
Callback | callback_ |
A helper for boost::depth_first_search (DFS) usage with the purpose of detecting cycles.
The callback_ is called whenever a back edge is found.
Definition at line 28 of file back_edge_detector.hpp.
|
inlineexplicit |
Definition at line 31 of file back_edge_detector.hpp.
|
inline |
Definition at line 37 of file back_edge_detector.hpp.
References utils::back_edge_detector< Callback >::callback_.
|
private |
Definition at line 44 of file back_edge_detector.hpp.
Referenced by utils::back_edge_detector< Callback >::back_edge().