• Home
  • Search
  • Fast All-Pairs Shortest Paths Algorithm in Large Sparse Graph
  • Cite Icon8
  • https://doi.org/10.1145/3577193.3593728Copy DOI Icon

Fast All-Pairs Shortest Paths Algorithm in Large Sparse Graph

  • Jun 21, 2023
  • Shaofeng Yang +4 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Finding the All-Pairs Shortest Paths (APSP) in a graph is the key for various domains. Motivated by the graphs are sparse in most real-world applications, we store the whole graph as a compressed storage format in each process of the distributed computing clusters and combine the Floyd algorithm with the Dijkstra algorithm to solve the APSP problem in this work, which leads to the novel Fast APSP algorithm. In contrast to the state-of-the-art Part APSP algorithm, our algorithm adds some memory overhead to store the original sparse graph and uses local Floyd and global Dijkstra algorithms simultaneously. The payoff is the circumvention of expensive global communication, reducing one local FW operation, simplifying the Minplus function, and making its data access continuous. Furthermore, we propose a parallel framework to solve the problem of mismatch between the number of GPUs and the number of divisible blocks of a graph. The Fast APSP algorithm exhibits an average speedup of 16.97x compared to the CPU Dijkstra algorithm, 7.09x compared to the GPU Dijkstra algorithm, 7.09x compared to the Part APSP algorithm, and 4.6x compared to the decentralized Part APSP algorithm. It also shows good scalability in our experiments. It takes about 12.45 minutes to solve the APSP problem for the graph with 11,548,845 vertices by engaging 2048 GPUs.

Similar Papers
  • Conference Article
  • Citations11

Energy efficient routing algorithm on the target tracking in Wireless Sensor Network

  • Dec 01, 2015
  • Mrunali Umale +1
  • Conference Article
  • Citations2

Efficient Parallel All-Pairs Shortest Paths Algorithm for Complex Graph Analysis

  • Aug 13, 2018
  • Jong Wook Kim +2
  • PDF
  • Research Article
  • Citations6

A Semi-exact Algorithm for Quickly Computing A Maximum Weight Clique in Large Sparse Graphs

  • Sep 14, 2021
  • Journal of Artificial Intelligence Research
  • Shaowei Cai +3
  • Research Article

Improved Computing Performance for Floyd-Warshall Algorithm in the MapReduce architectures

  • Oct 02, 2025
  • International Journal of Computing
  • Nguyen Dinh Lau +1
  • Research Article
  • Citations16

Pencarian Rute Terpendek Menggunakan Algoritma Dijkstra dan Astar (A*) pada SIG Berbasis Web untuk Pemetaan Pariwisata Kota Sawahlunto

  • Jan 01, 2011
  • Transmisi: Jurnal Ilmiah Teknik Elektro
  • Diana Okta Pugas +2
  • Conference Article
  • Citations4

Applications of Ear Decomposition to Efficient Heterogeneous Algorithms for Shortest Path/Cycle Problems

  • May 01, 2017
  • Debarshi Dutta +3
  • Research Article
  • Citations22

A Multiple Pairs Shortest Path Algorithm

  • Nov 01, 2005
  • Transportation Science
  • I-Lin Wang +2
  • Research Article

Competing all-pairs shortest paths algorithms for sparse / dense graphs: implementation and comparison

  • Dec 30, 2024
  • «System analysis and applied information science»
  • A A Prihozhy +1
  • Conference Article
  • Citations65

Efficient Exact Algorithms for Maximum Balanced Biclique Search in Bipartite Graphs

  • Jun 09, 2021
  • Lu Chen +4
  • Research Article
  • Citations11

Solving all-pairs shortest path by single-source computations: Theory and practice

  • Apr 09, 2017
  • Discrete Applied Mathematics
  • Andrej Brodnik +1
  • Research Article
  • Citations8

External matrix multiplication and all-pairs shortest path

  • Apr 30, 2004
  • Information Processing Letters
  • Jop F Sibeyn
  • Book Chapter
  • Citations163

Listing All Maximal Cliques in Large Sparse Real-World Graphs

  • Jan 01, 2011
  • David Eppstein +1
  • Book Chapter
  • Citations26

A Blocked All-Pairs Shortest-Paths Algorithm

  • Jan 01, 2000
  • Gayathri Venkataraman +2
  • Book Chapter

A Divisive Approach for All Pairs Shortest Path on Large-Scale Graphs with Limited Resources

  • Jan 01, 2023
  • Yanwei Liu +2
  • Conference Article
  • Citations19

Approximating APSP without scaling: equivalence of approximate min-plus and exact min-max

  • Jun 23, 2019
  • Karl Bringmann +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.