|
PGROUTING
3.2
|
Go to the documentation of this file.
28 #ifndef INCLUDE_VISITORS_DFS_VISITOR_HPP_
29 #define INCLUDE_VISITORS_DFS_VISITOR_HPP_
32 #include <boost/graph/depth_first_search.hpp>
44 template <
typename V,
typename E,
typename G>
51 std::vector<boost::default_color_type> &colors,
60 template <
typename B_G>
66 template <
typename B_G>
75 m_colors[target] = boost::black_color;
79 template <
typename B_G>
88 std::vector<boost::default_color_type> &
m_colors;
97 #endif // INCLUDE_VISITORS_DFS_VISITOR_HPP_
void tree_edge(E e, const B_G &)
std::vector< boost::default_color_type > & m_colors
boost::graph_traits< BG >::edge_descriptor E
void start_vertex(V v, const B_G &)
std::vector< int64_t > m_depth
Dfs_visitor(V root, std::vector< E > &data, int64_t max_depth, std::vector< boost::default_color_type > &colors, G &graph)
void examine_edge(E e, const B_G &)
graph::Pgr_base_graph< BG, XY_vertex, Basic_edge > G
exception for visitor termination
boost::graph_traits< BG >::vertex_descriptor V
std::vector< E > & m_data
Book keeping class for swapping orders between vehicles.