期刊文献+

基于位并行技术的特殊字符串匹配

Special String Matching Based on Bit-parallelism Technique
原文传递
导出
摘要 提出了2种采用位并行技术的算法:ISA算法和IBNDM算法。使用机器字来记录各种参数,通过位运算更新各机器字的取值,模拟非确定自动机(NFA)的状态转换过程,反映各种特殊字符对NFA状态转换的影响,实现特殊字符串的快速匹配。在模式串长度不超过机器字长(通常为32或64)时,2种算法都比正则表达式具有更优越的性能。 Two efficient approaches were proposed based on bit-parallelism technique. They are ISA algorithm and IBNDM algorithm. Both algorithms are based on machine words encoded parameters. We can pack many values in a single word and update them all in a single operation, via bit-operation simulating slate transitions of a Nondeterministic Finite Automaton (NFA), which will reflect the influences of constructing NFA made by various special characters. Under the circumstances that pattern is not longer than the number of bits in the machine word W (in current architectures W is 32 or 64), both algorithms performed better than regular expression.
出处 《武汉理工大学学报》 CAS CSCD 北大核心 2009年第6期109-113,共5页 Journal of Wuhan University of Technology
基金 国家863项目(2007AA01Z466) 国家自然科学基金(60821001) 高等学校学科创新引智计划基金(B08004)
关键词 特殊字符串匹配 位并行 非确定自动机 正则表达式 special string matching bit-parallelism nondeterministic finite automaton (NFA) regular expression
  • 相关文献

参考文献6

  • 1Fischer M J, Paterson M. String Matching and Other Products[ C ]. Proceedigs SIAM-AMS Complexity of Computation, Cambridge [ A ] USA: Massachusetts Institute of Technology, 1974. 113-125.
  • 2Pinter R Y. Efficient String Matching with Don' t Care Pattern [ M]. Combinatorial Algorithms on Words. Berlin: Springer-Verlag, 1985.
  • 3Abrahamson K. Generalized String Matching [J]. SIAM Journal on Computing, 1987, 16(6) : 1039-1051.
  • 4Navarro G, Raffinot M. Fast and Flexible String Matching by Combining Bit-parallelism and Suffix Automata [J]. ACM Journal of Experimental Algorithmics(JEA), 2000, 5(4):56-64.
  • 5Wu S, Manber U. Fast Text Searching Allowing Errors [J]. Communications of the ACM, 1992, 35(10) : 83-91.
  • 6Navarro G, Raginot M. Flexible Pattern Matching in Strings: Practical on-line Search Algorithms for Texts and Biological Sequences [M]. Cambridge: Cambridge University Press, 2002.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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