Back to Search Start Over

Finding Patterns with Variable Length Gaps or Don't Cares.

Authors :
Chen, Danny Z.
Lee, D. T.
Rahman, M. Sohel
Iliopoulos, Costas S.
Lee, Inbok
Mohamed, Manal
Smyth, William F.
Source :
Computing & Combinatorics (9783540369257); 2006, p146-155, 10p
Publication Year :
2006

Abstract

In this paper we have presented new algorithms to handle the pattern matching problem where the pattern can contain variable length gaps. Given a pattern P with variable length gaps and a text T our algorithm works in O(n + m + α log(max1<=i<=l(bi-ai))) time where n is the length of the text, m is the summation of the lengths of the component subpatterns, α is the total number of occurrences of the component subpatterns in the text and ai and bi are, respectively, the minimum and maximum number of don't cares allowed between the ith and (i+1)st component of the pattern. We also present another algorithm which, given a suffix array of the text, can report whether P occurs in T in O(m + α loglogn) time. Both the algorithms record information to report all the occurrences of P in T. Furthermore, the techniques used in our algorithms are shown to be useful in many other contexts. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISBNs :
9783540369257
Database :
Complementary Index
Journal :
Computing & Combinatorics (9783540369257)
Publication Type :
Book
Accession number :
32887304
Full Text :
https://doi.org/10.1007/11809678_17