Algebraic Algorithms for Betweenness and Percolation Centrality

Authors

  • Altansuren Tumurbaatar
  • Matthew Sottile

DOI:

https://doi.org/10.7155/jgaa.00558

Abstract

In this paper, we explored different ways to write the algebraic version of betweenness centrality algorithm. Particularly, we focused on Brandes' algorithm [Brandes, Journal of Mathematical Sociology, 2001]. We aimed for algebraic betweenness centrality that can be parallelized easily. We proposed 3-tuple geodetic semiring as an extension to the usual geodetic semiring with 2-tuples [Batagelj, Journal of Mathematical Sociology, 1994]. Using the 3-tuple geodetic semiring, Dijkstra's and Brandes' algorithm, we wrote more concise and general algebraic betweenness centrality (ABC) algorithm which is valid for weighted and directed graphs. We also proposed an alternative version of ABC using the usual geodetic semiring with 2-tuple where we used a simple way to construct shortest path tree after computing shortest path distances in the usual geodetic semiring. This allows us to avoid computational complexity of ABC implementation using 3-tuple geodetic semiring. We used numba [Lam et al., LLVM'15, 2015] to optimize and parallelize ABC. We evaluated the performance of ABC using 2-tuple geodetic semiring as compared to NetworkX [Hagberg et al., SciPy 2008, 2008], a common python package for graph algorithms. We did scalability experiments on parallel ABC and showed its total speedup. We also showed that with small modification, ABC can be adapted to algebraicly compute other centrality measures such as percolation centrality.

Downloads

Download data is not yet available.

Downloads

Published

2021-01-01

How to Cite

Tumurbaatar, A., & Sottile, M. (2021). Algebraic Algorithms for Betweenness and Percolation Centrality. Journal of Graph Algorithms and Applications, 25(1), 241–261. https://doi.org/10.7155/jgaa.00558

Issue

Section

Articles

Categories