arrow
返回

Two-level heaps: a new priority queue structure with applications to the single source shortest path problem

delete2010-08-11
delete2
PRE
AI
K
K. Subramani *
K
Kamesh Madduri
DOI:10.1007/s00607-010-0112-1delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
The single source shortest paths problem with positive edge weights (SSSPP) is one of the more widely studied problems in operations research and theoretical computer science, on account of its wide applicability to practical situations. This problem was first solved in polynomial time by Dijkstra, who showed that by extracting vertices with the smallest distance from the source and relaxing its outgoing edges, the shortest path to each vertex is obtained. Variations of this general theme have led to a number of algorithms which work well in practice. At the heart of a Dijkstra implementation is the technique used to implement a priority queue. It is well known that using Dijkstra's approach requires Omega (n log n)steps on a graph having n vertices, since it essentially sorts vertices based on their distances from the source. Accordingly, the fastest implementation of Dijkstra's algorithm on a graph with it vertices and in edges should take Omega (m + n . log n) time, and consequently, the Dijkstra procedure for SSSPP using Fibonacci Heaps is optimal in the comparison-based model. In this paper, we introduce a new data structure to implement priority queues called two-level heap (TLH) and a new variant of Dijkstra's algorithm called Phased Dijkstra. We contrast the performance of Dijkstra's algorithm (both the simple and the phased variants) using a number of data structures to implement the priority queue and empirically establish that TLH are far superior to Fibonacci heaps on every graph family considered. It is to be noted that our profiling includes both sparse and dense graphs.
Keyword:
Single source shortest path
Dijkstra's algorithm
Priority queues
Two-level heaps
Edge relaxation

期刊

C
Computing
IF:
2.8
论文数:
2.3K
被引数:
3.5K

机构

U
united states department of energy (doe)
学者数:
11.3W
论文数: 9.6W
被引数: 246
W
West Virginia University
学者数:
1.4W
论文数: 1.1W
被引数: 1.2W
引用论文

引用论文

Effect of Exceptional Parental Longevity and Lifestyle Factors on Prevalence of Cardiovascular Disease in Offspring
err2017-12-01
err0
errOAAI
errSriram Gubbi; Elianna Schwartz; Jill Crandall; Joe Verghese; Roee Holtzer; Gil Atzmon; Rebecca Braunstein; Nir Barzilai; Sofiya Milman
err分享
err收藏
Crystal Structure of Bi(OCMe2CH2OMe)3 and Its Use in the MOCVD of Bi2O3
err2001-09-01
err0
PREAI
errP. A. Williams; A. C. Jones; M. J. Crosbie; P. J. Wright; J. F. Bickley; A. Steiner; H. O. Davies; T. J. Leedham; G. W. Critchlow
err分享
err收藏
Marine microplastic-associated biofilms – a review
err2015-01-01
err0
PREAI
errSonja Oberbeckmann; Martin G. J. Löder; Matthias Labrenz
err分享
err收藏
Behavioral and Metabolic Effects of the Atypical Antipsychotic Ziprasidone on the Nematode Caenorhabditis elegans
err2013-09-19
err0
errOAAI
errPriscila Gubert; Gabriel Costa Aguiar; Tácito Mourão; Jessika Cristina Bridi; Alexandre Guimarães Barros; Félix Alexandre Soares; Marco Aurélio Romano-Silva
err分享
err收藏
学者 查看更多内容