A New Fast Weighted All-pairs Shortest Path Search Algorithm Based on Pruning by Shortest Path Trees

08/19/2019
by   Yasuo Yamane, et al.
0

Recently we submitted a paper, whose title is A New Fast Unweighted All-pairs Shortest Path Search Algorithm Based on Pruning by Shortest Path Trees, to arXiv. This is related to unweighted graphs. This paper also presents a new fast all-pairs shortest path algorithm for weighted graph based on the same idea. In Dijkstra algorithm which is said to be fast in weighted graphs, the average number of accesses to adjacent vertices (expressed by α) is about equal to the average degree of the graph. On the other hand, our algorithm utilizes the shortest path trees of adjacent vertices of each source vertex in the same manner as the algorithm for unweighted graphs, and reduce α drastically in comparison with Dijkstra algorithm. Roughly speaking α is reduced to the value close to 1, because the average degree of a tree is about 2, and one is used to come in and the other is used to go out, although that does not hold true when the depth of the short path trees is small. In case of weighted graphs, a problem which does not occur in unweighted graphs occurs. It is waiting for the generation of the shortest path tree of an adjacent vertex. Therefore, it is possible that a deadlock occurs. We prove our algorithm is deadlock-free. We compared our algorithm with Dijkstra and Peng algorithms. On Dijkstra algorithm ours outperforms it on speed and α except that Dijkstra algorithm slightly outperforms ours or they are almost the same on CPU time in sparse scale-free graphs. The result on Peng algorithm is as follows: In speed and α, ours outperforms Peng algorithm in hypercube-shaped and dense scale-free graphs, but conversely Peng algorithm outperforms ours in sparse scale-free graphs.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/19/2019

A New Fast Unweighted All-pairs Shortest Path Search Algorithm Based on Pruning by Shortest Path Trees

We present a new fast all-pairs shortest path algorithm for unweighted g...
research
08/18/2019

A New k-Shortest Path Search Approach based on Graph Reduction

We present a new approach called GR (Graph Reduction) algorithm for sear...
research
03/17/2023

A Comparison of Dijkstra's Algorithm Using Fibonacci Heaps, Binary Heaps, and Self-Balancing Binary Trees

This paper describes the shortest path problem in weighted graphs and ex...
research
10/28/2021

RGP: Neural Network Pruning through Its Regular Graph Structure

Lightweight model design has become an important direction in the applic...
research
08/08/2016

Delta Epsilon Alpha Star: A PAC-Admissible Search Algorithm

Delta Epsilon Alpha Star is a minimal coverage, real-time robotic search...
research
06/14/2022

Most, And Least, Compact Spanning Trees of a Graph

We introduce the concept of Most, and Least, Compact Spanning Trees - de...
research
12/07/2021

Efficient labeling algorithms for adjacent quadratic shortest paths

In this article, we study the Adjacent Quadratic Shortest Path Problem (...

Please sign up or login with your details

Forgot password? Click here to reset