arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1401.0625cs.DS
收藏

用于通配符模式匹配的空间有效的字符串索引

Space-Efficient String Indexing for Wildcard Pattern Matching

Moshe Lewenstein, Yakov Nekrich, Jeffrey Scott Vitter

摘要:

在本文中,我们描述了压缩索引,支持模式匹配查询字符串与通配符。对于固定大小的字母表,我们的数据结构使用$O(n\log^{\varepsilon}n)$位用于任何$\varepsilon>0$,并报告$O(m+σ^g \cdotμ(n) + \mathrm{occ})$时间内查询字符串的所有$\mathrm{occ}$出现,其中$μ(n)=o(\log\log\log n)$,$σ$是字母表大小,$m$是字母表符号的数量,$g$是查询字符串中查询符号的数量。我们还提出了一个$O(n)$位索引与$O((m+σ^g+\mathrm{occ})\log^{\varepsilon}n)$查询时间和$O(n(\log\log n)^2)$位索引与$O((m+σ^g+\mathrm{occ})\log\log n)$查询时间.这些是这个问题的第一个非平凡的数据结构,需要$o(n\log n)$位空间。

英文摘要:

In this paper we describe compressed indexes that support pattern matching queries for strings with wildcards. For a constant size alphabet our data structure uses $O(n\log^{\varepsilon}n)$ bits for any $\varepsilon>0$ and reports all $\mathrm{occ}$ occurrences of a wildcard string in $O(m+σ^g \cdotμ(n) + \mathrm{occ})$ time, where $μ(n)=o(\log\log\log n)$, $σ$ is the alphabet size, $m$ is the number of alphabet symbols and $g$ is the number of wildcard symbols in the query string. We also present an $O(n)$-bit index with $O((m+σ^g+\mathrm{occ})\log^{\varepsilon}n)$ query time and an $O(n(\log\log n)^2)$-bit index with $O((m+σ^g+\mathrm{occ})\log\log n)$ query time. These are the first non-trivial data structures for this problem that need $o(n\log n)$ bits of space.

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

↑