A Sequential Recursive Implementation of Dead-Zone Single Keyword Pattern Matching

Earlier publications provided an abstract specification of a family of single keyword pattern matching algorithms [18] which search unexamined portions of the text in a divide-and-conquer fashion, generating dead-zones in the text as they progress. These dead zones are area of text that require no further examination. Here the results are described of implementing in C++ a sequential recursive version of the algorithm family, where all instances of a single keyword p in a text S are sought—the online keyword matching problem where S may not be precomputed.

[1]  Derrick G. Kourie,et al.  Performance assessment of dead-zone single keyword pattern matching , 2012, SAICSIT '12.

[2]  Bruce W. Watson,et al.  SPARE Parts: a C++ toolkit for string pattern recognition , 2004, Softw. Pract. Exp..

[3]  Donald E. Knuth,et al.  Fast Pattern Matching in Strings , 1977, SIAM J. Comput..

[4]  Wojciech Rytter,et al.  Text Algorithms , 1994 .

[5]  Bertrand Meyer,et al.  Object-Oriented Software Construction, 2nd Edition , 1997 .

[6]  Wojciech Rytter,et al.  Jewels of stringology , 2002 .

[7]  R. Nigel Horspool,et al.  Practical fast searching in strings , 1980, Softw. Pract. Exp..

[8]  Gerard Zwaan,et al.  A new taxonomy of sublinear right-to-left scanning keyword pattern matching algorithms , 2010, Sci. Comput. Program..

[9]  Bruce W. Watson,et al.  A new family of string pattern matching algorithms , 2003, South Afr. Comput. J..

[10]  Thierry Lecroq,et al.  2001-2010: Ten Years of Exact String Matching Algorithms , 2011, Stringology.

[11]  William F. Smyth,et al.  Computing Patterns in Strings , 2003 .

[12]  Robert S. Boyer,et al.  A fast string searching algorithm , 1977, CACM.

[13]  Derrick G. Kourie,et al.  The Correctness-by-Construction Approach to Programming , 2012, Springer Berlin Heidelberg.

[14]  Bruce W. Watson,et al.  Taxonomy-based software construction of SPARE Time: a case study , 2005, IEE Proc. Softw..

[15]  Thomas Berry,et al.  A Fast String Matching Algorithm and Experimental Results , 1999, Stringology.

[16]  Thierry Lecroq,et al.  Handbook of Exact String Matching Algorithms , 2004 .

[17]  Alain Finkel,et al.  World Scientific Publishing Company , 2013 .