期刊文献+

一种高速精确单模式串匹配算法 被引量:14

A Fast and Exact Single Pattern Matching Algorithm
下载PDF
导出
摘要 串匹配问题是计算机科学的基础问题之一,是网络安全、信息检索与过滤、计算生物学等众多领域的核心问题,其中,高速精确单模式匹配算法设计又是各种串匹配问题的基础.基于SBNDM2,通过修改位掩码有效位到无符号整数的高位,将BNDM算法核心循环化简至最简形式(5指令/字符),并引入越界保护机制,提出S2BNDM系列精确单模式匹配算法.实验结果显示,S2BNDM系列算法在任何情况下都快于SBNDM2,对于英文语料(m<32)和DNA序列(m<8),S2BNDM系列算法为现有已知最快算法. 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 crossborder 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〈m≤12) /DNA sequence (2〈m≤8), and S2BNDM' is the fastest algorithm on English text (13≤m〈32).
出处 《计算机研究与发展》 EI CSCD 北大核心 2009年第8期1341-1348,共8页 Journal of Computer Research and Development
基金 国家自然科学基金项目(60503055) 黑龙江省博士后启动基金项目(323630217)~~
关键词 串匹配 精确单模式 算法设计 位并行 文本搜索 string matching exact single pattern design of algorithm bit parallelism text searching
  • 相关文献

参考文献10

  • 1Holub J,Durian B.Fast variants of bit parallel approach to suffix automata[OL]. http://www.cri.haifa.ac.il/events/2005/string/presentations/Holub.pdf . 2008
  • 2Allauzen C,,Crochemore M,Raffinot M.Factor oracle:A newstructure for pattern matching[].Proc of SOFSEM.1999
  • 3Navarro G,Raffinot M.Fast and flexible string matching by combining bit-parallelismand suffix automata[OL]. http://doi.acm.org/10.1145/351827.384246 . 2008
  • 4Peltola Hannu,Tarhio Jorma.Alternative algorithms for bit-parallel string matching[].Proc of SPIRE.2003
  • 5Knuth D E,Morris J H,Pratt V R.Fast pattern matching in string[].SIAM Journal on Computing.1977
  • 6Horspool R N.Practical fast searching in strings[].Software Practice and Experience.1980
  • 7Hume A,Sunday D M.Fast string searching[].Software -Practice &Experience.1991
  • 8Sheik S.S,Aggarwal Sumit K,Poddar Anindya.A fast pattern matching algorithm[].Journal of Chemistry.2004
  • 9K.Fredriksson,S. Grabowski.Practical and Optimal String Matching[].String Processing and Information Retrieval.2005
  • 10Lecroq T.Fast exact string matching algorithm[].Information Processing Letters.2007

同被引文献106

引证文献14

二级引证文献51

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部