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

一个快速简单的寻找近似最长公共子串的$O (z \log n)$ -空间索引

A fast and simple $O (z \log n)$-space index for finding approximately longest common substrings

Nick Fagan, Jorge Hermo González, Travis Gagie

摘要:

我们描述如何,给定一个文本$T [1..n]$和一个正常数$ε$,我们可以建立一个简单的$O (z \log n)$空间索引,其中$z$是$T$的LZ 77解析中的短语数量,这样,稍后,给定一个模式$P [1..m]$,在$O (m \log \log z + \mathrm{polylog} (m + z))$时间中,我们可以以高概率找到$P$子串,该子串出现在$T$中,且其长度至少为$(1 - ε)$。$P$和$T$的最长公共子串的长度的分数。

英文摘要:

We describe how, given a text $T [1..n]$ and a positive constant $ε$, we can build a simple $O (z \log n)$-space index, where $z$ is the number of phrases in the LZ77 parse of $T$, such that later, given a pattern $P [1..m]$, in $O (m \log \log z + \mathrm{polylog} (m + z))$ time and with high probability we can find a substring of $P$ that occurs in $T$ and whose length is at least a $(1 - ε)$-fraction of the length of a longest common substring of $P$ and $T$.

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

↑