arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1206.5336cs.DS
收藏

内、外存储器中的近优联机多选

Near-Optimal Online Multiselection in Internal and External Memory

Jérémy Barbay, Ankur Gupta, S. Srinivasa Rao, Jonathan Sorenson

摘要:

我们介绍了一个在线版本的多选问题,其中q选择查询的n个元素的未排序数组的要求。我们提供了第一个在线算法,是1-竞争Kaligosi等人。[ICALP 2005]在比较复杂性方面。我们的算法也支持在线搜索查询效率。然后,我们扩展我们的算法的动态设置,同时保留在线功能,通过支持任意插入和删除的数组。假设一个元素的插入是紧接着搜索该元素之前,我们表明,我们的动态在线算法进行了最佳数量的比较,低阶项和一个添加剂O(n)项。对于外部记忆模型,我们描述了第一个在线多选择算法,是O(1)-竞争。当q > m时,这个结果改进了Sibeyn [Journal of Algorithms 2006]的工作,其中m是可以存储在主存中的块的数量。我们还扩展了它,以支持搜索,插入和删除的元素有效。

英文摘要:

We introduce an online version of the multiselection problem, in which q selection queries are requested on an unsorted array of n elements. We provide the first online algorithm that is 1-competitive with Kaligosi et al. [ICALP 2005] in terms of comparison complexity. Our algorithm also supports online search queries 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, we show that 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 [Journal of Algorithms 2006] when q > m, 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑