SLIDE 19 9/25/19 19
u Idea: node i is very central if it’s pretty close to
the other nodes
u Avg distance from node i to all other nodes = u Closeness centrality of i = 1/Avg distance from i u Example: Compute the closeness centralities of
nodes 1 and 4 dist(i, j)
j≠i
∑
n −1
Need to do BFS with root i 1 2 3 4 6 7 5
- 3. Betweenness centrality
u Idea: a node i is very central if a lot of the
shortest paths go through i
u Betweenness centrality of i,
βi = Σ
u Exercise: Compute the between centrality of
nodes 1, 2, and 3.
u β1 = 0 u β2 = 0 u β3 = ? (Do at home)
u Florentine marriage: Medici most central
# of shortest paths between j and k passing through i # of shortest paths between j and k, irrespective of passing through i
1 2 4 5 3 6
j,k j ≠k≠i