کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
434857 689815 2012 10 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Efficient retrieval of approximate palindromes in a run-length encoded string
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Efficient retrieval of approximate palindromes in a run-length encoded string
چکیده انگلیسی

In this paper, we study the palindrome retrieval problem with the input string compressed into run-length encoded form. Given a run-length encoded string , we show how to preprocess  to support subsequent queries of the longest palindrome centered at any specified position and having any specified number of mismatches between its arms. We present two algorithms for the problem, both taking time and space polynomial in the compressed string size. Let n denote the number of runs of  and let k denote the number of mismatches. The first algorithm, devised for small k, identifies the desired palindrome in O(logn+min{k,n}) time with O(nlogn) preprocessing time, while the second algorithm achieves O(log2n) query time, independent of k, after O(n2logn)-time preprocessing.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Theoretical Computer Science - Volume 432, 11 May 2012, Pages 28-37