Betweenness is the measure of centrality in a graph. In the context of social media, it will quantify the probability that a person is part of the communication in a subgroup. For a computer network, betweenness will quantify the negative effect on communication between the graph nodes, in the event of vertex failure.
To calculate the betweenness of vertex a in a certain aGraph = (?, ?), follow these steps:
- Compute the shortest paths between each pair of vertices in aGraph. Let's represent this with .
- From , count the number of shortest paths that pass through vertex a. Let's represent this with .
- Calculate the betweenness with .