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

03/17/2023
by   Rhyd Lewis, et al.
0

This paper describes the shortest path problem in weighted graphs and examines the differences in efficiency that occur when using Dijkstra's algorithm with a Fibonacci heap, binary heap, and self-balancing binary tree. Using C++ implementations of these algorithm variants, we find that the fastest method is not always the one that has the lowest asymptotic complexity. Reasons for this are discussed and backed with empirical evidence.

READ FULL TEXT

page 8

page 9

page 10

page 11

page 12

page 13

page 14

page 15

research
08/19/2019

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

Recently we submitted a paper, whose title is A New Fast Unweighted All-...
research
07/01/2020

An improved algorithm to reconstruct a binary tree from its inorder and postorder traversals

In this paper, we present InPos, an improved algorithm, to reconstruct ...
research
08/29/2019

Compacted binary trees admit a stretched exponential

A compacted binary tree is a directed acyclic graph encoding a binary tr...
research
04/19/2018

Entropy rates for Horton self-similar trees

In this paper we examine planted binary plane trees. First, we provide a...
research
07/15/2020

Directed Shortest Paths via Approximate Cost Balancing

We present an O(nm) algorithm for all-pairs shortest paths computations ...
research
07/27/2023

The Unweighted and Weighted Reverse Shortest Path Problem for Disk Graphs

We study the reverse shortest path problem on disk graphs in the plane. ...
research
06/09/2015

Self Organizing Maps Whose Topologies Can Be Learned With Adaptive Binary Search Trees Using Conditional Rotations

Numerous variants of Self-Organizing Maps (SOMs) have been proposed in t...

Please sign up or login with your details

Forgot password? Click here to reset