کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
9657001 687257 2005 10 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
FFT-based algorithms for the string matching with mismatches problem
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
FFT-based algorithms for the string matching with mismatches problem
چکیده انگلیسی
The string matching with mismatches problem requires finding the Hamming distance between a pattern P of length m and every length m substring of text T with length n. Fischer and Paterson's FFT-based algorithm solves the problem without error in O(σnlogm), where σ is the size of the alphabet Σ [SIAM-AMS Proc. 7 (1973) 113-125]. However, this in the worst case reduces to O(nmlogm). Atallah, Chyzak and Dumas used the idea of randomly mapping the letters of the alphabet to complex roots of unity to estimate the score vector in time O(nlogm) [Algorithmica 29 (2001) 468-486]. We show that the algorithm's score variance can be substantially lowered by using a bijective mapping, and specifically to zero in the case of binary and ternary alphabets. This result is extended via alphabet remappings to deterministically solve the string matching with mismatches problem with a constant factor of 2 improvement over Fischer-Paterson's method.
ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Journal of Algorithms - Volume 57, Issue 2, November 2005, Pages 130-139
نویسندگان
, ,