Function object that invokes breadth-first search for the unweighted form of the Brandes betweenness centrality algorithm. More...
#include <betweenness_centrality.hpp>
Classes | |
struct | visitor_type |
Customized visitor passed to breadth-first search, which records predecessor and the number of shortest paths to each vertex. More... | |
Public Member Functions | |
template<typename Graph , typename IncomingMap , typename DistanceMap , typename PathCountMap , typename VertexIndexMap > | |
void | operator() (Graph &g, typename graph_traits< Graph >::vertex_descriptor s, std::stack< typename graph_traits< Graph >::vertex_descriptor > &ov, IncomingMap incoming, DistanceMap distance, PathCountMap path_count, VertexIndexMap vertex_index) |
Function object that invokes breadth-first search for the unweighted form of the Brandes betweenness centrality algorithm.
|
inline |