arXiv++ Combinatorics

Browse math.CO papers from arXiv

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

Published: 2023-03-17 | Updated: 2023-03-21
Comments: 15 pages, 5 figures, 3 algorithms, 2 tables, source code listing

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.

BibTeX

Loading...