...
首页> 外文期刊>LIPIcs : Leibniz International Proceedings in Informatics >Dynamic Ordered Sets with Approximate Queries, Approximate Heaps and Soft Heaps
【24h】

Dynamic Ordered Sets with Approximate Queries, Approximate Heaps and Soft Heaps

机译:具有近似查询,近似堆和软堆的动态有序集

获取原文
   

获取外文期刊封面封底 >>

       

摘要

We consider word RAM data structures for maintaining ordered sets of integers whose select and rank operations are allowed to return approximate results, i.e., ranks, or items whose rank, differ by less than Delta from the exact answer, where Delta=Delta(n) is an error parameter. Related to approximate select and rank is approximate (one-dimensional) nearest-neighbor. A special case of approximate select queries are approximate min queries. Data structures that support approximate min operations are known as approximate heaps (priority queues). Related to approximate heaps are soft heaps, which are approximate heaps with a different notion of approximation. We prove the optimality of all the data structures presented, either through matching cell-probe lower bounds, or through equivalences to well studied static problems. For approximate select, rank, and nearest-neighbor operations we get matching cell-probe lower bounds. We prove an equivalence between approximate min operations, i.e., approximate heaps, and the static partitioning problem. Finally, we prove an equivalence between soft heaps and the classical sorting problem, on a smaller number of items. Our results have many interesting and unexpected consequences. It turns out that approximation greatly speeds up some of these operations, while others are almost unaffected. In particular, while select and rank have identical operation times, both in comparison-based and word RAM implementations, an interesting separation emerges between the approximate versions of these operations in the word RAM model. Approximate select is much faster than approximate rank. It also turns out that approximate min is exponentially faster than the more general approximate select. Next, we show that implementing soft heaps is harder than implementing approximate heaps. The relation between them corresponds to the relation between sorting and partitioning. Finally, as an interesting byproduct, we observe that a combination of known techniques yields a deterministic word RAM algorithm for (exactly) sorting n items in O(n log log_w n) time, where w is the word length. Even for the easier problem of finding duplicates, the best previous deterministic bound was O(min{n log log n,n log_w n}). Our new unifying bound is an improvement when w is sufficiently large compared with n.
机译:我们考虑使用Word RAM数据结构来维护整数的有序集合,这些整数的选择和秩运算允许返回近似结果,即,秩或与秩相比,其项与确切答案的差小于Delta的项,其中Delta = Delta(n)是错误参数。与近似选择和等级相关的是近似(一维)最近邻居。近似选择查询的一种特殊情况是近似最小查询。支持近似min操作的数据结构称为近似堆(优先级队列)。与近似堆相关的是软堆,它们是具有不同近似概念的近似堆。我们通过匹配细胞探针下界或通过等效研究充分静态问题证明了所有数据结构的最优性。对于近似选择,秩和最近邻操作,我们得到匹配的单元探针下限。我们证明了近似的最小运算(即近似的堆)和静态分区问题之间的等价关系。最后,我们证明了在较少数量的项目上,软堆和经典排序问题之间的等价关系。我们的结果有许多有趣和意想不到的结果。事实证明,近似可以大大加快其中的某些运算,而其他运算几乎不受影响。尤其是,尽管选择和排序具有相同的操作时间,但在基于比较的操作和字RAM的实现中,字RAM模型中这些操作的近似版本之间却出现了有趣的分离。近似选择比近似排名快得多。事实也证明,近似最小值比更一般的近似选择快得多。接下来,我们展示了实现软堆比实现近似堆更难。它们之间的关系对应于排序和分区之间的关系。最后,作为一个有趣的副产品,我们观察到,已知技术的组合产生了确定性字RAM算法,用于在O(n log log_w n)时间中(精确)排序n个项目,其中w是字长。即使对于查找重复项的问题比较简单,最佳的先前确定性界限也为O(min {n log log n,n log_w n})。当w与n相比足够大时,我们的新统一界是一个改进。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号