计算机科学 > 数据结构与算法
[提交于 2003年9月23日]
标题:Finding approximate palindromes in strings
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Valmir Barbosa[v1] 2003年9月23日 星期二 13:45:48 UTC