Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

On RAM priority queues

Conference ·
OSTI ID:416786
 [1]
  1. Univ. of Coepnhagen (Denmark)

Priority queues are some of the most fundamental data structures. They are used directly for, say, task scheduling in operating systems. Moreover, they are essential to greedy algorithms. We study the complexity of priority queue operations on a RAM with arbitrary word size. We present exponential improvements over previous bounds, and we show tight relations to sorting. Our first result is a RAM priority queue supporting insert and extract-min operations in worst case time O(log log n) where n is the current number of keys in the queue. This is an exponential improvement over the O({radical}log n) bound of Redman and Willard from STOC`90. Our algorithm is simple, and it only uses AC{sup 0} operations, meaning that there is no hidden time dependency on the word size. Plugging this priority queue into Dijkstra`s algorithm gives an 0(mloglogm) algorithm for the single source shortest path problem on a graph with m edges, as compared with the previous O(m {radical} log m) bound based on Redman and Willard`s priority queue.

OSTI ID:
416786
Report Number(s):
CONF-960121--
Country of Publication:
United States
Language:
English

Similar Records

Buckets, heaps, lists, and monotone priority queues
Conference · Sun Jun 01 00:00:00 EDT 1997 · OSTI ID:471662

Relaxed heaps
Journal Article · Mon Oct 31 23:00:00 EST 1988 · Commun. ACM; (United States) · OSTI ID:6526005

Worst-case efficient priority queues
Conference · Mon Dec 30 23:00:00 EST 1996 · OSTI ID:416785