Batched Predecessor and Sorting with Size-Priced Information in External Memory
Batched Predecessor and Sorting with Size-Priced Information in External Memory
复制标题
批处理前驱和外部存储器中按大小定价的信息排序
DOI:
10.1007/978-3-030-61792-9_13
复制
发表时间:
2021
期刊:
影响因子:
--
通讯作者:
Tsichlas, Kostas
中科院分区:
文献类型:
--
作者:
Bender, Michael A;Goswami, Mayank;Medjedovic, Dzejla;Montes, Pablo;Tsichlas, Kostas
The fundamental problems of sorting and searching, traditionally studied in the unit-cost comparison model, have been generalized to include priced information, where different pairs of items have different comparison costs. These costs can be arbitrary (Charikar et al. STOC 2000), structured (Gupta et al. FOCS 2001), or stochastic (Angelov et al. LATIN 2008). Motivated by the database setting where the comparison cost depends on the sizes of the records, we consider the problems of sorting and batched predecessor where two non-uniform sets of itemsAandBare given as input. In the RAM model, pairwise comparisons (A-A,A-BandB-B) have respective comparison costsa,bandc. We give upper and lower bounds for the case, which serves as a warmup for the generalization to the external-memory model. In the Disk-Access Model (DAM), where transferring elements between disk and RAM is the main bottleneck, we consider the scenario where elements inBare larger than elements inA. All items are required in their entirety for comparisons in RAM. A key observation is that the complexity of sorting depends on the interleaving of the small and large items in the final sorted order, and with a high degree of interleaving, the lower bound is dominated by an associated batched predecessor problem. We give output-sensitive bounds on the batched predecessor and sorting; our bounds are tight in most cases. Our lower bounds require novel generalizations of lower bound techniques in external memory to accommodate non-uniform keys.
登录
查看更多内容
DOI:
--
发表时间:
1992
期刊:
International Conference on Database Theory
影响因子:
--
作者:
A. 0. Pinchuk;K. Shvachko
通讯作者:
K. Shvachko
DOI:
--
发表时间:
1977
期刊:
CACM
影响因子:
--
作者:
E. McCreight
通讯作者:
E. McCreight
DOI:
--
发表时间:
1992
期刊:
Workshop on Algorithms and Data Structures
影响因子:
--
作者:
L. Arge;Mikael B. Knudsen;Kirsten Larsen
通讯作者:
Kirsten Larsen
DOI:
--
发表时间:
2005
期刊:
影响因子:
--
作者:
Amr Elmasry
通讯作者:
Amr Elmasry
DOI:
--
发表时间:
1985
期刊:
CACM
影响因子:
--
作者:
L. Larmore;D. Hirschberg
通讯作者:
D. Hirschberg