A Novel All-Pairs Shortest Path Algorithm
Authors:
- Yelai FengYFYelai Feng
- Huaixi WangHWHuaixi Wang
- Yining ZhuYZYining Zhu
- Chao ChangCCChao Chang
- Hongyi LuHLHongyi Lu
Preprint
Abstract
The shortest path problem is a common challenge in graph theory and network science, with a broad range of potential applications. However, conventional serial algorithms often struggle to adapt to large-scale graphs. To address this issue, researchers have explored parallel computing as a solution. The state-of-the-art shortest path algorithm is the Delta-stepping implementation method, which significantly improves the parallelism of Dijkstra's algorithm. We propose a novel all-pairs shortest path algorithm achieving higher parallelism and scalability, which requires $O(nm \cdot \frac{pd^2}{pd+1}+n^2\cdot d)$ time and $O(m)$ space, where $p$ and $d$ represents the average connection probability and the diameter of graph, respectively. To evaluate the effectiveness of our algorithm, we tested it using real network inputs from Stanford Network Analysis Platform and SuiteSparse Matrix Collection. Our algorithm outperformed the solution of shortest path algorithm from Gunrock, achieving a speedup of 4.534$\times$, and reducing latency to $32.231\%$, on average.
Keywords
All Related Versions
This publication has 17 references indexed in Scilit:
- Essentials of Parallel Graph Analytics2022
- A new exact algorithm for the shortest path problem: An optimized shortest distance matrixComputers & Industrial Engineering, 2021
- An Efficient Implementation of the Bellman-Ford Algorithm for Kepler GPU ArchitecturesIEEE Transactions on Parallel and Distributed Systems, 2015
- Finding All-Pairs Shortest Path for a Large-Scale Transportation Network Using Parallel Floyd-Warshall and Parallel Dijkstra AlgorithmsJournal of Computing in Civil Engineering, 2013
- The Diameter of a Scale-Free Random GraphCombinatorica, 2004
- Δ-stepping: a parallelizable shortest path algorithmJournal of Algorithms, 2003
- Scale-Free Networks Are UltrasmallPhysical Review Letters, 2003
- Diameter of the World-Wide WebNature, 1999
- Subcubic Cost Algorithms for the All Pairs Shortest Path ProblemAlgorithmica, 1998
- On the All-Pairs-Shortest-Path Problem in Unweighted Undirected GraphsJournal of Computer and System Sciences, 1995