Closeness centrality

From Wikipedia, the free encyclopedia
Jump to: navigation, search

In a connected graph, the closeness centrality (or closeness) of a node is a measure of centrality in a network, calculated as the sum of the length of the shortest paths between the node and all other nodes in the graph. Thus the more central a node is, the closer it is to all other nodes.

Closeness was defined by Bavelas (1950) as the reciprocal of the farness,[1][2] that is:

When speaking of closeness centrality, people usually refer to its normalized form which represents the average length of the shortest paths instead of their sum. It is generally given by the previous formula divided by , where is the number of nodes in the graph. This adjustment allows comparisons between nodes of graphs of different sizes.

Taking distances from or to all other nodes is irrelevant in undirected graphs, whereas it can produce totally different results in directed graphs (e.g. a website can have a high closeness centrality from outgoing link, but low closeness centrality from incoming links).

In disconnected graphs[edit]

When a graph is not strongly connected, a widespread idea is that of using the sum of reciprocal of distances, instead of the reciprocal of the sum of distances, with the convention :

This idea was explicitly stated for undirected graphs under the name harmonic centrality by Rochat (2009),[3] axiomatized by Garg (2009)[4] and proposed once again later by Opsahl (2010).[5] It was studied on general directed graphs by Boldi and Vigna (2014).[6] This idea is also quite similar to market potential proposed in Harris (1954)[7] which now often goes by the term market access.[8]

Note that harmonic centrality is a most natural modification of Bavelas's definition of closeness following the general principle proposed by Marchiori and Latora (2000)[9] that in graphs with infinite distances the harmonic mean behaves better than the arithmetic mean. Indeed, Bavelas's closeness can be described as the denormalized reciprocal of the arithmetic mean of distances, whereas harmonic centrality is the denormalized reciprocal of the harmonic mean of distances.


Dangalchev (2006),[10] in a work on network vulnerability proposes for undirected graphs a different definition:

The information centrality of Stephenson and Zelen (1989) is another closeness measure, which computes the harmonic mean of the resistance distances towards a vertex x, which is smaller if x has many paths of small resistance connecting it to other vertices.[11]

In the classic definition of the closeness centrality, the spread of information is modeled by the use of shortest paths. This model might not be the most realistic for all types of communication scenarios. Thus, related definitions have been discussed to measure closeness, like the random walk closeness centrality introduced by Noh and Rieger (2004). It measures the speed with which randomly walking messages reach a vertex from elsewhere in the graph—a sort of random-walk version of closeness centrality.[12] Hierarchical closeness of Tran and Kwon (2014)[13] is an extended closeness centrality to deal still in another way with the limitation of closeness in graphs that are not strongly connected. The hierarchical closeness explicitly includes information about the range of other nodes that can be affected by the given node.

See also[edit]


  1. ^ Alex Bavelas. Communication patterns in task-oriented groups. J. Acoust. Soc. Am, 22(6):725–730, 1950.
  2. ^ Sabidussi, G (1966). "The centrality index of a graph". Psychometrika. 31: 581–603. doi:10.1007/bf02289527. 
  3. ^ Yannick Rochat. Closeness centrality extended to unconnected graphs: The harmonic centrality index (PDF). Applications of Social Network Analysis, ASNA 2009. 
  4. ^ Manuj Garg, "Axiomatic Foundations of Centrality in Networks", SSRN Electronic Journal, doi:10.2139/ssrn.1372441 
  5. ^ Tore Opsahl. "Closeness centrality in networks with disconnected components". 
  6. ^ Boldi, Paolo; Vigna, Sebastiano (2014), "Axioms for Centrality", Internet Mathematics, 10: 222–262, doi:10.1080/15427951.2013.865686 
  7. ^ C. D. Harris. The, market as a factor in the localization of industry in the united states. Annals of the association of American geographers, 44(4):315–348, 1954
  8. ^ Gutberlet, Theresa. Cheap Coal versus Market Access: The Role of Natural Resources and Demand in Germany's Industrialization. Working Paper. 2014.
  9. ^ Marchiori, Massimo; Latora, Vito (2000), "Harmony in the small-world" (PDF), Physica A: Statistical Mechanics and its Applications, 285 (3-4): 539–546, doi:10.1016/s0378-4371(00)00311-3 
  10. ^ Ch, Dangalchev (2006). "Residual Closeness in Networks". Phisica A. 365: 556. 
  11. ^ Stephenson, K. A.; Zelen, M. (1989). "Rethinking centrality: Methods and examples". Social Networks. 11: 1–37. doi:10.1016/0378-8733(89)90016-6. 
  12. ^ Noh, J. D.; Rieger, H. (2004). "Random Walks on Complex Networks". Phys. Rev. Lett. 92: 118701. doi:10.1103/physrevlett.92.118701. 
  13. ^ Tran, T.-D. and Kwon, Y.-K. Hierarchical closeness efficiently predicts disease genes in a directed signaling network, Computational biology and chemistry.