Near-optimal online multiselection in internal and external memory
Author
dc.contributor.author
Barbay, Jérémy
Author
dc.contributor.author
Gupta, Ankur
Author
dc.contributor.author
Satti, Srinivasa Rao
Author
dc.contributor.author
Sorenson, Jon
Admission date
dc.date.accessioned
2016-10-20T19:04:26Z
Available date
dc.date.available
2016-10-20T19:04:26Z
Publication date
dc.date.issued
2016
Cita de ítem
dc.identifier.citation
Journal of Discrete Algorithms 36 (2016) 3–17
es_ES
Identifier
dc.identifier.other
10.1016/j.jda.2015.11.001
Identifier
dc.identifier.uri
https://repositorio.uchile.cl/handle/2250/140891
Abstract
dc.description.abstract
We introduce an online version of the multiselection problem, in which q selection queries are requested on an unsorted array of nelements. We provide the first online algorithm that is 1-competitive with the offline algorithm proposed by Kaligosi et al. [14] in terms of comparison complexity. Our algorithm also supports online searchqueries efficiently. We then extend our algorithm to the dynamic setting, while retaining online functionality, by supporting arbitrary insertions and deletions on the array. Assuming that the insertion of an element is immediately preceded by a search for that element, our dynamic online algorithm performs an optimal number of comparisons, up to lower order terms and an additive O(n) term. For the external memory model, we describe the first online multiselection algorithm that is O(1)-competitive. This result improves upon the work of Sibeyn [20] when q = omega(m(1-epsilon)) for any fixed positive constant epsilon, where m is the number of blocks that can be stored in main memory. We also extend it to support searches, insertions, and deletions of elements efficiently.