English

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

Data Structures and Algorithms 2023-03-22 v2 Combinatorics

Abstract

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.

Keywords

Cite

@article{arxiv.2303.10034,
  title  = {A Comparison of Dijkstra's Algorithm Using Fibonacci Heaps, Binary Heaps, and Self-Balancing Binary Trees},
  author = {Rhyd Lewis},
  journal= {arXiv preprint arXiv:2303.10034},
  year   = {2023}
}

Comments

15 pages, 5 figures, 3 algorithms, 2 tables, source code listing

R2 v1 2026-06-28T09:21:42.615Z