Finding approximate palindromes in strings
Finding approximate palindromes in strings
复制标题
寻找字符串中的近似回文
DOI:
10.1016/s0031-3203(01)00179-0
复制
发表时间:
2002
期刊:
影响因子:
--
通讯作者:
V. Barbosa
中科院分区:
文献类型:
--
作者:
Alexandre H. L. Porto;V. Barbosa
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(k2n) 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.