gives a list of betweenness centralities for the vertices in the graph g.
- BetweennessCentrality will give high centralities to vertices that are on many shortest paths of other vertex pairs.
- BetweennessCentrality for a vertex in a connected graph is given by , where is the number of shortest paths from to and is the number of shortest paths from to passing through .
- The ratio is taken to be zero when there is no path from to .
New in 8