arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1607.03718cs.DScs.CC
收藏

不利用后缀树计算编辑距离的流算法

Streaming Algorithms For Computing Edit Distance Without Exploiting Suffix Trees

Diptarka Chakraborty, Elazar Goldenberg, Michal Koucký

摘要:

编辑距离是一种通过计算将一个字符串转换为另一个字符串所需的最小字符插入、删除和替换次数来量化两个字符串彼此相似程度的方法。在本文中,我们研究的计算问题的编辑距离计算一对字符串之间的距离是有界的参数$k\ll n$。本文提出了两种计算编辑距离的流算法:一种是按时间运行的$O(n+k^2)$,另一种是按时间运行的$n+O(k^3)$。通过写$n+O(k^3)$,我们想强调每个输入符号的操作数是一个小常数。特别是,运行时间不依赖于字母表的大小,算法应该很容易实现。以前的一个流算法与运行时间$O(n+k^4)$中给出的文件,目前的作者(STOC'16)。最好的离线算法在时间上运行$O(n+k^2)$(Landau等人,1998年),这是已知的最佳下的强指数时间假设。

英文摘要:

The edit distance is a way of quantifying how similar two strings are to one another by counting the minimum number of character insertions, deletions, and substitutions required to transform one string into the other. In this paper we study the computational problem of computing the edit distance between a pair of strings where their distance is bounded by a parameter $k\ll n$. We present two streaming algorithms for computing edit distance: One runs in time $O(n+k^2)$ and the other $n+O(k^3)$. By writing $n+O(k^3)$ we want to emphasize that the number of operations per an input symbol is a small constant. In particular, the running time does not depend on the alphabet size, and the algorithm should be easy to implement. Previously a streaming algorithm with running time $O(n+k^4)$ was given in the paper by the current authors (STOC'16). The best off-line algorithm runs in time $O(n+k^2)$ (Landau et al., 1998) which is known to be optimal under the Strong Exponential Time Hypothesis.

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

↑