Four Sliding Windows Pattern Matching Algorithm (FSW)

This paper presents an efficient pattern matching algorithm (FSW). FSW improves the searching process for a pattern in a text. It scans the text with the help of four sliding windows. The windows are equal to the length of the pattern, allowing multiple alignments in the searching process. The text is divided into two parts; each part is scanned from both sides simultaneously using two sliding windows. The four windows slide in parallel in both parts of the text. The comparisons done between the text and the pattern are done from both of the pattern sides in parallel. The conducted experiments show that FSW achieves the best overall results in the number of attempts and the number of character comparisons compared to the pattern matching algorithms: Two Sliding Windows (TSW), Enhanced Two Sliding Windows algorithm (ETSW) and Berry-Ravindran algorithm (BR). The best time case is calculated and found to be  while the average case time complexity is  .

[1]  Maulana Azad,et al.  Multiple Pattern String Matching Methodologies: A Comparative Analysis , 2012 .

[2]  Dima Suleiman,et al.  ERS-A Algorithm for Pattern Matching , 2013 .

[3]  Cui Linhai An Innovative Approach for Regular Expression Matching Based on NoC Architecture , 2014 .

[4]  Dima Suleiman,et al.  Enhanced Two Sliding Windows Algorithm For Pattern Matching (ETSW) , 2012 .

[5]  Jing He,et al.  Parallel Algorithm for Approximate String Matching with K Differences , 2013, 2013 IEEE Eighth International Conference on Networking, Architecture and Storage.

[6]  Dima Suleiman,et al.  A Fast Pattern Matching Algorithm with Two Sliding Windows (TSW) , 2008 .

[7]  Ping Zhang,et al.  An Improved Pattern Matching Algorithm in the Intrusion Detection System , 2011 .

[8]  Thierry Lecroq,et al.  The exact online string matching problem: A review of the most recent results , 2013, CSUR.

[9]  D. Garg,et al.  String Matching Algorithms and their Applicability in various Applications , 2012 .

[10]  Gonzalo Navarro,et al.  String matching with alphabet sampling , 2012, J. Discrete Algorithms.

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

[12]  Raju Bhukya,et al.  Multiple Pattern Matching Algorithm using Pair-count , 2011 .

[13]  Devaki Pendlimarri,et al.  Novel Pattern Matching Algorithm for Single Pattern Matching , 2010 .

[14]  Izzat Alsmadi,et al.  String Matching Evaluation Methods for DNA Comparison , 2012 .

[15]  Zhenglu Yang,et al.  Fast Algorithms for Top-k Approximate String Matching , 2010, AAAI.

[16]  Thierry Lecroq,et al.  A Multiple Sliding Windows Approach to Speed Up String Matching Algorithms , 2012, SEA.