一个最优选择字典
An Optimal Choice Dictionary
摘要:
选择字典是可以用参数$n\in\{1,2,\ldots\}$初始化并且随后在插入、删除、成员查询和返回$S$的任意元素的操作“选择”下维护$\{1,\ldots,n\}$的初始空子集$S$的数据结构。选择字典是空间高效计算的基础,有许多应用。最佳先前选择字典可以在恒定时间内用$n$和第二参数$t\in\{1,2,\ldots\}$初始化,并且随后在$O(t)$时间内执行所有操作,并且占用具有$w=Ω(\log n)$位的字长的字RAM上的$n+O(n({t/w})^t+\log n)$位。我们描述了一个新的选择字典,恒定时间初始化后,在恒定时间内执行所有操作,除了存储$n$所需的空间,只占用$n+1$位,这是最佳的,如果$w=o(n)$。允许额外空间的$\lceil\log_2(n+1)\rceil$位,新数据结构还支持在每个元素的恒定时间内对集合$S$进行迭代。
英文摘要:
A choice dictionary is a data structure that can be initialized with a parameter $n\in\{1,2,\ldots\}$ and subsequently maintains an initially empty subset $S$ of $\{1,\ldots,n\}$ under insertion, deletion, membership queries and an operation 'choice' that returns an arbitrary element of $S$. The choice dictionary is fundamental in space-efficient computing and has numerous applications. The best previous choice dictionary can be initialized with $n$ and a second parameter $t\in\{1,2,\ldots\}$ in constant time and subsequently executes all operations in $O(t)$ time and occupies $n+O(n({t/w})^t+\log n)$ bits on a word RAM with a word length of $w=Ω(\log n)$ bits. We describe a new choice dictionary that, following a constant-time initialization, executes all operations in constant time and, in addition to the space needed to store $n$, occupies only $n+1$ bits, which is shown to be optimal if $w=o(n)$. Allowed $\lceil\log_2(n+1)\rceil$ bits of additional space, the new data structure also supports iteration over the set $S$ in constant time per element.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。