A Novel All-Pairs Shortest Path Algorithm
Authors:
- Yelai FengYFYelai Feng
- Huaixi WangHWHuaixi Wang
- Yining ZhuYZYining Zhu
- Zhenjun JiZJZhenjun Ji
- Chao ChangCCChao Chang
- HongyiHOHongyi
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 based on matrix multiplications. This algorithm transforms the shortest path problem into a matrix multiplication problem and takes advantage of its superior parallelism performance. To evaluate the effectiveness of our algorithm, we tested it using real network inputs from open source datasets. Our algorithm outperformed parallel single source shortest path algorithms on GPUs, achieving a speedup of 7.858 $\times$, and reducing latency to $13.5812\%$, on average.
Keywords
All Related Versions
This publication has 18 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