Priority queues and sorting for read-only data

Tetsuo Asano, Amr Elmasry, Jyrki Katajainen

16 Citations (Scopus)
91 Downloads (Pure)

Abstract

We revisit the random-access-machine model in which the input is given on a read-only random-access media, the output is to be produced to a write-only sequential-access media, and in addition there is a limited random-access workspace. The length of the input is N elements, the length of the output is limited by the computation itself, and the capacity of the workspace is O(S + w) bits, where S is a parameter specified by the user and w is the number of bits per machine word. We present a state-of-the-art priority queue-called an adjustable navigation pile-for this model. Under some reasonable assumptions, our priority queue supports minimum and insert in O(1) worst-case time and extract in O(N/S+lg S) worst-case time, where lg N ≤ S ≤ N/lg N. We also show how to use this data structure to simplify the existing optimal O(N 2/S + N lg S)-time sorting algorithm for this model.

Original languageEnglish
Title of host publicationTheory and Applications of Models of Computation : 10th International Conference, TAMC 2013, Hong Kong, China, May 20-22, 2013. Proceedings
EditorsT-H. Hubert Chan, Lap Chi Lau, Luca Trevisan
Number of pages10
PublisherSpringer
Publication date2013
Pages32-41
ISBN (Print)978-3-642-38235-2
ISBN (Electronic)978-3-642-38236-9
DOIs
Publication statusPublished - 2013
Event10th International Conference on Theory and Applications of Models of Computation - Hong Kong, China
Duration: 20 May 201322 May 2013
Conference number: 10

Conference

Conference10th International Conference on Theory and Applications of Models of Computation
Number10
Country/TerritoryChina
CityHong Kong
Period20/05/201322/05/2013
SeriesLecture notes in computer science
Volume7876
ISSN0302-9743

Fingerprint

Dive into the research topics of 'Priority queues and sorting for read-only data'. Together they form a unique fingerprint.

Cite this