c-trie++:一个为快速前缀匹配而定制的动态Trie
c-trie++: A Dynamic Trie Tailored for Fast Prefix Searches
摘要:
给定总长度为$n$的$k$字符串的动态集合$K$,其字符从大小为$σ$的字母表中提取,关键字字典是建立在$K$上的数据结构,其提供对$K$的定位、前缀搜索和更新操作。假设$α= w / \lg σ$字符适合一个单一的机器字$w$,我们提出了一个关键字字典,表示$K$在$n \lg σ+ Θ(k \lg n)$位的空间,支持所有操作在$O(m / α+ \lg α)$预期的时间在输入字符串的长度$m$在字RAM模型。这个数据结构强调了详尽的实际评估,突出了所提出的数据结构的实用性,特别是对于前缀搜索-最基本的关键字字典操作之一。
英文摘要:
Given a dynamic set $K$ of $k$ strings of total length $n$ whose characters are drawn from an alphabet of size $σ$, a keyword dictionary is a data structure built on $K$ that provides locate, prefix search, and update operations on $K$. Under the assumption that $α= w / \lg σ$ characters fit into a single machine word $w$, we propose a keyword dictionary that represents $K$ in $n \lg σ+ Θ(k \lg n)$ bits of space, supporting all operations in $O(m / α+ \lg α)$ expected time on an input string of length $m$ in the word RAM model. This data structure is underlined with an exhaustive practical evaluation, highlighting the practical usefulness of the proposed data structure, especially for prefix searches - one of the most elementary keyword dictionary operations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。