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

间隙编辑距离的一种简单次线性算法

A Simple Sublinear Algorithm for Gap Edit Distance

Joshua Brakensiek, Moses Charikar, Aviad Rubinstein

摘要:

研究了两个$n$字符串之间编辑距离的估计问题。虽然在最坏情况下的精确计算被认为需要接近二次时间,但以前的工作表明,在某些制度下,可以在次线性时间内解决以下{ \em间隙编辑距离}问题:区分距离$\le k$和$>k^2$的输入。我们的主要结果是一个非常简单的算法,这个基准,运行在时间$\tilde O(n/\sqrt{k})$,特别是解决了开放的问题,获得一个真正的次线性时间为整个范围内的相关$k$。基于相同的框架,我们还获得了具有$\tilde O(n)$预处理时间和$\tilde O(n/k)$查询时间的单侧预处理模型的$k$ -vs- $k^2$算法(改进了最近针对相同问题的$\tilde O(n/k+k^2)$ -查询时间算法[GRS'20])。

英文摘要:

We study the problem of estimating the edit distance between two $n$-character strings. While exact computation in the worst case is believed to require near-quadratic time, previous work showed that in certain regimes it is possible to solve the following {\em gap edit distance} problem in sub-linear time: distinguish between inputs of distance $\le k$ and $>k^2$. Our main result is a very simple algorithm for this benchmark that runs in time $\tilde O(n/\sqrt{k})$, and in particular settles the open problem of obtaining a truly sublinear time for the entire range of relevant $k$. Building on the same framework, we also obtain a $k$-vs-$k^2$ algorithm for the one-sided preprocessing model with $\tilde O(n)$ preprocessing time and $\tilde O(n/k)$ query time (improving over a recent $\tilde O(n/k+k^2)$-query time algorithm for the same problem [GRS'20].

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

↑