arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1302.4016cs.DS
收藏

针对固定大小字母的成熟实时的索引

Full-fledged Real-Time Indexing for Constant Size Alphabets

Gregory Kucherov, Yakov Nekrich

摘要:

在本文中,我们描述了一个数据结构,支持模式匹配查询的动态到达的文本在一个字母表的恒定大小。每个新的符号都可以在O(1)的最坏情况下前置到$T$。在任何时候,我们都可以在$O(|P|+k)$时间内报告模式$P$在当前文本中的所有出现,其中$|P|$是$P$的长度,$k$是出现的次数。这解决了在字母表大小恒定的假设下,存在用于字符串匹配的实时的【形】索引方法的一个长期存在的公开问题(参见\cite{AmirN08})。

英文摘要:

In this paper we describe a data structure that supports pattern matching queries on a dynamically arriving text over an alphabet ofconstant size. Each new symbol can be prepended to $T$ in O(1) worst-case time. At any moment, we can report all occurrences of a pattern $P$ in the current text in $O(|P|+k)$ time, where $|P|$ is the length of $P$ and $k$ is the number of occurrences. This resolves, under assumption of constant-size alphabet, a long-standing open problem of existence of a real-time indexing method for string matching (see \cite{AmirN08}).

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

↑