Customized visitor passed to Dijkstra's algorithm by Brandes' betweenness centrality algorithm.
More...
|
| brandes_dijkstra_visitor (std::stack< vertex_descriptor > &ordered_vertices, WeightMap weight, IncomingMap incoming, DistanceMap distance, PathCountMap path_count) |
|
void | edge_relaxed (edge_descriptor e, const Graph &g) |
| Whenever an edge e = (v, w) is relaxed, 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 | edge_not_relaxed (edge_descriptor e, const Graph &g) |
| If an edge e = (v, w) was not relaxed, it may still be the case that we've found more equally-short paths, so include {(v, w)} in the incoming edges of w and add all of the shortest paths to v to the shortest path count of w. More...
|
|
void | examine_vertex (vertex_descriptor w, const Graph &) |
| Keep track of vertices as they are reached. 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 WeightMap, typename IncomingMap, typename DistanceMap, typename PathCountMap>
struct boost::detail::graph::brandes_dijkstra_visitor< Graph, WeightMap, IncomingMap, DistanceMap, PathCountMap >
Customized visitor passed to Dijkstra's algorithm by Brandes' betweenness centrality algorithm.
This visitor is responsible for keeping track of the order in which vertices are discovered, the predecessors on the shortest path(s) to a vertex, and the number of shortest paths.
template<typename Graph , typename WeightMap , typename IncomingMap , typename DistanceMap , typename PathCountMap >
template<typename Graph , typename WeightMap , typename IncomingMap , typename DistanceMap , typename PathCountMap >
Whenever an edge e = (v, w) is relaxed, 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().