Finding approximate palindromes in strings
Abstract
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.
- Publication:
-
arXiv e-prints
- Pub Date:
- September 2003
- DOI:
- 10.48550/arXiv.cs/0309043
- arXiv:
- arXiv:cs/0309043
- Bibcode:
- 2003cs........9043P
- Keywords:
-
- Computer Science - Data Structures and Algorithms;
- F.2.2;
- I.2.8
- E-Print:
- Pattern Recognition 35 (2002), 2581-2591