Logo image
Efficient algorithms for incremental all pairs shortest paths, closeness and betweenness in social network analysis
Journal article   Peer reviewed

Efficient algorithms for incremental all pairs shortest paths, closeness and betweenness in social network analysis

Sushant S. Khopkar, Rakesh Nagi, Alexander G. Nikolaev and Vaibhav Bhembre
Social network analysis and mining, Vol.4(1), pp.1-20
01/12/2014

Abstract

Computer Science Computer Science, Information Systems Science & Technology Technology
One of the biggest challenges in today's social network analysis (SNA) is handling dynamic data. Realworld social networks evolve with time, forcing their corresponding graph representations to dynamically update by addition or deletion of edges/nodes. Consequently, a researcher is often interested in fast recomputation of important SNA metrics pertaining to a network. Recomputations of SNA metrics are expensive. Use of dynamic algorithms has been found as a solution to this problem. For calculating closeness and betweenness centrality metrics, computations of all pairs shortest paths (APSP) are needed. Thus, to compute these SNA metrics dynamically, APSP are needed to be computed dynamically. This paper presents fast incremental updating algorithms along with the time complexity results for APSP, closeness centrality and betweenness centrality, considering two distinct cases: edge addition and node addition. The following time complexity results are presented: (1) The incremental APSP algorithm runs in O(n(2)) time (Omega(n(2))) is the theoretical lower bound of the APSP problem), (2) The incremental closeness algorithm that runs in O(n(2)) time, and (3) The incremental betweenness algorithm runs in O(nm + n(2) log n) time. Here, m is the number of edges and n is the number of nodes in the network. Though the time complexity of the presented incremental betweenness algorithm is no better than its static counterpart (Brandes, J Math Sociol 25(2): 163-177, 2001), the experimental comparisons demonstrate that the former performs better than the latter. All the presented methods are applicable to weighted, directed or undirected graphs with non-negative realvalued edge weights. An alternate version of the incremental APSP algorithm is presented in the Appendix section. It is demonstrated that this version works better on large graphs.

Metrics

1 Record Views

Details

Logo image