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

查找字符串中的近似回文

Finding approximate palindromes in strings

A. H. L. Porto, V. C. Barbosa

摘要:

我们引入了一种新的字符串中的近似回文的定义,并提供了一个算法,以找到所有最大的近似回文在一个字符串中的$k$错误。我们的定义是基于通常的编辑操作的近似模式匹配,和算法,我们给一个字符串的大小$n$在一个固定的字母表,运行在$O(k^2 n)$时间。我们还讨论了两个实现相关的改进算法,并通过实验和平均情况下的分析,在实践中证明其有效性。

英文摘要:

We introduce a novel definition of approximate palindromes in strings, and provide an algorithm to find all maximal approximate palindromes in a string with up to $k$ errors. Our definition is based on the usual edit operations of approximate pattern matching, and the algorithm we give, for a string of size $n$ on a fixed alphabet, runs in $O(k^2 n)$ time. We also discuss two implementation-related improvements to the algorithm, and demonstrate their efficacy in practice by means of both experiments and an average-case analysis.

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

↑