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

改进的预处理字符串的次线性时间编辑距离

Improved Sublinear-Time Edit Distance for Preprocessed Strings

Karl Bringmann, Alejandro Cassis, Nick Fischer, Vasileios Nakos

摘要:

我们研究的问题,近似的编辑距离的两个字符串在次线性时间,在设置中的一个或两个字符串(S)进行预处理,发起由Goldenberg,Rubinstein,Saha(STOC '20)。具体地,在$(k, K)$ -间隙编辑距离问题中,目标是区分两个字符串的编辑距离是至多$k$还是至少$K$。我们得到了以下结果:* 在时间$n^{1+o(1)}$中对一个字符串进行预处理后,我们可以求解$(k, k \cdot n^{o(1)})$ -时间间隙编辑距离$(n/k + k) \cdot n^{o(1)}$。* 在时间$n^{1+o(1)}$中分别对两个字符串进行预处理后,我们可以求解$(k, k \cdot n^{o(1)})$ -时间间隔编辑距离$k \cdot n^{o(1)}$。这两个结果都改善了一些以前最好的结果,无论是差距或查询时间或预处理时间。我们的算法建立在Andoni,Krauthgamer和Onak(FOCS '10)的框架和最近的次线性时间算法由Bringmann,Cracket,Fischer和Nakos(STOC '22)。我们取代了许多复杂的部分,在他们的算法更快,更简单的解决方案,利用预处理。

英文摘要:

We study the problem of approximating the edit distance of two strings in sublinear time, in a setting where one or both string(s) are preprocessed, as initiated by Goldenberg, Rubinstein, Saha (STOC '20). Specifically, in the $(k, K)$-gap edit distance problem, the goal is to distinguish whether the edit distance of two strings is at most $k$ or at least $K$. We obtain the following results: * After preprocessing one string in time $n^{1+o(1)}$, we can solve $(k, k \cdot n^{o(1)})$-gap edit distance in time $(n/k + k) \cdot n^{o(1)}$. * After preprocessing both strings separately in time $n^{1+o(1)}$, we can solve $(k, k \cdot n^{o(1)})$-gap edit distance in time $k \cdot n^{o(1)}$. Both results improve upon some previously best known result, with respect to either the gap or the query time or the preprocessing time. Our algorithms build on the framework by Andoni, Krauthgamer and Onak (FOCS '10) and the recent sublinear-time algorithm by Bringmann, Cassis, Fischer and Nakos (STOC '22). We replace many complicated parts in their algorithm by faster and simpler solutions which exploit the preprocessing.

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

↑