Customized visitor passed to breadth-first search, which records predecessor and the number of shortest paths to each vertex.
More...
|
| visitor_type (IncomingMap incoming, DistanceMap distance, PathCountMap path_count, std::stack< vertex_descriptor > &ordered_vertices) |
|
void | examine_vertex (vertex_descriptor v, Graph &) |
| Keep track of vertices as they are reached. More...
|
|
void | tree_edge (edge_descriptor e, Graph &g) |
| Whenever an edge e = (v, w) is labelled a tree edge, the incoming edge list for w is set to {(v, w)} and the shortest path count of w is set to the number of paths that reach {v}. More...
|
|
void | non_tree_edge (edge_descriptor e, Graph &g) |
| If an edge e = (v, w) is not a tree edge, it may still be the case that we've found more equally-short paths, so include (v, w) in the incoming edge list of w and add all of the shortest paths to v to the shortest path count of w. More...
|
|
graph::bfs_visitor_event_not_overridden | initialize_vertex (Vertex u, Graph &g) |
|
graph::bfs_visitor_event_not_overridden | discover_vertex (Vertex u, Graph &g) |
|
graph::bfs_visitor_event_not_overridden | examine_vertex (Vertex u, Graph &g) |
|
graph::bfs_visitor_event_not_overridden | examine_edge (Edge e, Graph &g) |
|
graph::bfs_visitor_event_not_overridden | tree_edge (Edge e, Graph &g) |
|
graph::bfs_visitor_event_not_overridden | non_tree_edge (Edge e, Graph &g) |
|
graph::bfs_visitor_event_not_overridden | gray_target (Edge e, Graph &g) |
|
graph::bfs_visitor_event_not_overridden | black_target (Edge e, Graph &g) |
|
graph::bfs_visitor_event_not_overridden | finish_vertex (Vertex u, Graph &g) |
|
template<typename Graph, typename IncomingMap, typename DistanceMap, typename PathCountMap>
struct boost::detail::graph::brandes_unweighted_shortest_paths::visitor_type< Graph, IncomingMap, DistanceMap, PathCountMap >
Customized visitor passed to breadth-first search, which records predecessor and the number of shortest paths to each vertex.
template<typename Graph, typename IncomingMap, typename DistanceMap, typename PathCountMap>
If an edge e = (v, w) is not a tree edge, it may still be the case that we've found more equally-short paths, so include (v, w) in the incoming edge list of w and add all of the shortest paths to v to the shortest path count of w.
References boost::put(), boost::source(), and boost::target().
template<typename Graph, typename IncomingMap, typename DistanceMap, typename PathCountMap>
Whenever an edge e = (v, w) is labelled a tree edge, the incoming edge list for w is set to {(v, w)} and the shortest path count of w is set to the number of paths that reach {v}.
References boost::put(), boost::source(), and boost::target().