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

最优平均事例空间中的熵树与范围最小化

Entropy Trees and Range-Minimum Queries In Optimal Average-Case Space

J. Ian Munro, Sebastian Wild

摘要:

范围最小查询(RMQ)问题是一个基本的数据结构化任务,有许多应用。尽管已知具有最坏情况最优$2n+o(n)$空间位和恒定查询时间的简洁解决方案,但尚不清楚这种数据结构是否可以适应随机输入的减少熵(Davoodi et al. 2014)。我们构造了一个简洁的数据结构,最佳的$1.736n+o(n)$位的空间平均随机RMQ实例,解决这个问题。我们的解决方案依赖于一个压缩的数据结构的二叉树是独立的利益。它可以将随机插入生成的(静态)二叉搜索树存储在渐近最优的期望空间中,并在恒定时间内支持多个查询。使用子树的实例最优编码,我们进一步获得了二叉树的“超简洁”数据结构,它改进了Jansson,Sadakane和Sung(2012)的超简洁表示。

英文摘要:

The range-minimum query (RMQ) problem is a fundamental data structuring task with numerous applications. Despite the fact that succinct solutions with worst-case optimal $2n+o(n)$ bits of space and constant query time are known, it has been unknown whether such a data structure can be made adaptive to the reduced entropy of random inputs (Davoodi et al. 2014). We construct a succinct data structure with the optimal $1.736n+o(n)$ bits of space on average for random RMQ instances, settling this open problem. Our solution relies on a compressed data structure for binary trees that is of independent interest. It can store a (static) binary search tree generated by random insertions in asymptotically optimal expected space and supports many queries in constant time. Using an instance-optimal encoding of subtrees, we furthermore obtain a "hyper-succinct" data structure for binary trees that improves upon the ultra-succinct representation of Jansson, Sadakane and Sung (2012).

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

↑