The power of the queue

7Citations
Citations of this article
6Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Queues, stacks (pushdown stores), and tapes are storage models which have direct applications in compiler design and the general design of algorithms. Whereas stacks (pushdown store or last-in-first-out storage) have been thoroughly investigated and are well understood, this is much less the case for queues (first-in-first-out storage). In this paper we present a comprehensive study comparing queues to stacks and tapes. We address off-line machines with a one-way input. In particular, 1 queue and 1 tape (or stack) are not comparable: (1) Simulating 1 stack (and hence 1 tape) by 1 queue requires Ω(n4/3/logn) time in both the deterministic and the nondeterministic cases. (2) Simulating 1 queue by 1 tape requires Ω(n2) time in the deterministic case, and Ω(n4/3/logn) in the nondeterministic case; We further compare the relative power between different numbers of queues: (3) Nondeterministically simulating 2 queues (or 2 tapes) by 1 queue requires Ω(n2/(log2n loglogn)) time and deterministically simulating 2 queues (or 2 tapes) by 1 queue requires Ω(n2) time. The second bound is tight. The first is almost tight. (4) We also obtain the simulation results for queues: 2 nondeterministic queues (or 3 pushdown stores) can simulate k queues in linear time. One queue can simulate k queues in quadratic time.

Cite

CITATION STYLE

APA

Li, M., Longpré, L., & Vitányi, P. M. B. (1986). The power of the queue. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 223 LNCS, pp. 219–233). Springer Verlag. https://doi.org/10.1007/3-540-16486-3_101

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free