Sciweavers

CPM
1993
Springer

Detecting False Matches in String Matching Algorithms

13 years 8 months ago
Detecting False Matches in String Matching Algorithms
Consider a text string of length n, a pattern string of length m, and a match vector of length n which declares each location in the text to be either a mismatch (the pattern does not occur beginning at that location in the text) or a potential match (the pattern may occur beginning at that location in the text). Some of the potential matches could be false, i.e., the pattern may not occur beginning at some location in the text declared to be a potential match. We investigate the complexity of two problems in this context, namely, checking if there is any false match, and identifying all the false matches in the match vector. We present an algorithm on the CRCW PRAM that checks if there exists a false match in O(1) time using O(n) processors. This algorithm does not require preprocessing the pattern. Therefore, checking for false matches is provably simpler than string matching since string matching takes (log log m) time on the CRCW PRAM. We use this simple algorithm to convert the Ka...
S. Muthukrishnan
Added 09 Aug 2010
Updated 09 Aug 2010
Type Conference
Year 1993
Where CPM
Authors S. Muthukrishnan
Comments (0)