期刊文献+

一种基于反向有限自动机的多模式匹配算法 被引量:6

Multiple Patterns Match Algorithm Based on Reverse Finite State Automata
下载PDF
导出
摘要 在基于有限自动机的多模式匹配算法DFSA的基础上,结合改进的BM单模式匹配算法的优点,提出一种快速的多模式字符串匹配算法。在一般情况下,该算法不需要匹配目标文本串的每个字符,能充分利用匹配过程中本次匹配不成功的信息和已成功的信息,跳过尽可能多的字符。实验表明,模式串较短时,该算法需要的时间约为DFSA的1/2,模式串较长时,所需时间约为DFSA算法的1/3。 A fast algorithm to perform multiple patterns match in a string is described. The proposed match algorithm is based on the concept of Deterministic Finite State Automata(DFSA), combining the advantages of Boyer Moore's algorithm, the fast algorithms for single pattern matching. In general, it does not need inspect each character of the string. It skips as many characters as possible by making full use of the succeeded match information and failure information during the matching. The proposed algorithm achieves excellent performance in the cases of both short patterns and long patterns. Experimental results show that in the case of short patterns, the time it takes to search a string is 1/2 of the time DFSA method takes, and in the case of long patterns, the time is only 1/3 of the time by DFSA method.
出处 《计算机工程》 CAS CSCD 北大核心 2010年第1期208-210,共3页 Computer Engineering
关键词 多模式匹配 有限自动机 匹配算法 multiple patterns match finite state automata match algorithm
  • 相关文献

参考文献5

  • 1Lecroq T. Experimental Results on String Matching Algorithm[J]. Software Practice and Experience, 1995, 25(7): 727-765.
  • 2Horspool R N. Practical Fast Searching in Strings[J]. Software Practice and Experience, 1980, 10(6): 501-506.
  • 3蔡晓妍,戴冠中,杨黎斌.一种快速的单模式匹配算法[J].计算机应用研究,2008,25(1):45-46. 被引量:15
  • 4许一震,王永成,沈洲.一种快速的多模式字符串匹配算法[J].上海交通大学学报,2002,36(4):516-520. 被引量:29
  • 5Cole R. Tight Bounds on the Complexity of the Boyer-Moore String Matching Algorithm[J]. SIAM Journal on Computing, 1994, 23(5): 1075-1091.

二级参考文献5

  • 1BOYER R S,MOORE J S.A fast string searching algorithm[J].Commun ACM,1977,20(10):762-772.
  • 2CHARRAS C,LECROR T.Exact string matching algorithms[EB/OL].(1997).http://www-igm.univ-mlv.fr/~lecroq/string/.
  • 3COLE R.Tight bounds on the complexity of the Boyer-Moore string matching algorithm[J].SIAM J Comput,1994,23(5):1075-1091.
  • 4LECROQ T.Experimental results on string matching algorithms[J].Software Practice and Experience,1995,25(7):727-765.
  • 5HORSPOOL R N.Practical fast searching in strings[J].Software-Practice and Experience,1980,10(6):501-506.

共引文献40

同被引文献45

  • 1古丽拉.阿东别克,米吉提.阿布力米提.维吾尔语词切分方法初探[J].中文信息学报,2004,18(6):61-65. 被引量:39
  • 2钱能,金文东.DNA序列比对分析中的统计特征方法[J].浙江工业大学学报,2005,33(2):173-175. 被引量:4
  • 3马欢,吾守尔.斯拉木.维吾尔语文语转换系统文本分析模块初探[J].计算机工程,2006,32(16):267-268. 被引量:6
  • 4蔡晓妍,戴冠中,杨黎斌.改进的多模式字符串匹配算法[J].计算机应用,2007,27(6):1415-1417. 被引量:11
  • 5Pevsner J著.孙之荣,等译.生物信息学与功能基因组学[M].北京:化学工业出版社,2006:213-257
  • 6哈密提·铁木尔.现代维吾尔语语法[M].北京:民族出版社,1987.
  • 7Surya S,Susan B,Zenaida M V.Empirical Comparison of AB Initio Repeat Finding Programs[J].Nucleic Acids Research,2008,36(7):2284-2294.
  • 8Cormen T H,Leiserson C E,Rivest R L.Introduction to Algorithms[M].[S.l.] :MIT Press,2001.
  • 9Aoe J.Computer Algorithms:String Pattern Matching Strategies[M].[S.l.] :IEEE Computer Society,1994.
  • 10Cole R. Tight Bounds on Complexity of the Boyer-Moore String Matching Algorithm [J]. SIAM Journal on Computing, 1994,23 (5) : 1075-1091.

引证文献6

二级引证文献16

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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