• 中国精品科技期刊
  • CCF推荐A类中文期刊
  • 计算领域高质量科技期刊T1类
Advanced Search
Fan Hongbo, Yao Nianmin. A Fast and Exact Single Pattern Matching Algorithm[J]. Journal of Computer Research and Development, 2009, 46(8): 1341-1348.
Citation: Fan Hongbo, Yao Nianmin. A Fast and Exact Single Pattern Matching Algorithm[J]. Journal of Computer Research and Development, 2009, 46(8): 1341-1348.

A Fast and Exact Single Pattern Matching Algorithm

More Information
  • Published Date: August 14, 2009
  • String matching problem is a fundamental problem in computer science. It is the key problem of many important scopes such as network security, information retrieval and filtration, computational biology, etc. And the design of exact single pattern string matching algorithm with high performance is the basis of all string matching problems. In this paper, the authors improve one of the fastest exact single pattern matching algorithms known on English text, which is SBNDM2. The simplest form of the BNDM core loop is obtained, in which there are only 5 instructions per character read by amending the relationship between position in the pattern and bit in the bitmask. And a cross-border protection method is added to the algorithm in order to reduce the cost of cross-border inspection. Two algorithms named S2BNDM and S2BNDM′ are presented. The experimental results indicate that both S2BNDM and S2BNDM′ are faster than SBNDM2 in any case. It can be considered that S2BNDM is the fastest algorithm on English text (2

Catalog

    Article views (638) PDF downloads (582) Cited by()
    Turn off MathJax
    Article Contents

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return