期刊文献+

构造正则表达式的最佳NFA算法的选择

How to Choose the Best Algorithms for Translating Regular Expressions into NFA
下载PDF
导出
摘要 介绍了工程中广泛应用的四种经典和先进的不确定有限自动机NFA的基本构造方法,它们是位置自动机Apos部分派生自动机Apd,跟随自动机Af,共同跟随集合自动机Acfs。列举大量工程实践中常用和经典的正则表达式,分别用上述自动机算法进行求解实验,对它们的运算尺寸以及与正则表达式尺寸之间的关系,列出表格分别进行比较分析,从中总结出各种自动机的构造特点和最佳应用场合。针对如何根据不同的正则表达式来选择非确定性有限自动机NFA算法提供了重要的参考依据。 This paper first introduces four algorithms for translating regular expressions into NFA: position automata Apos, partial derivative automata Apd, follow automata At, and common follow sets automata Acfs. And then the paper lists some typical regular expressions in practical applications, and uses transition graphs, parameterized methods and tables to analyze and compare the four algorithms based on these regular expressions. And then it concludes which algorithm should be used for what kinds of regular expressions. The conclusions of the paper are important for choosing the best algorithm for translating regular expressions into NFA in practice, especially to reduce the size of NFA.
作者 袁满 袁真
出处 《番禺职业技术学院学报》 2007年第2期58-61,共4页 Journal of Panyu Polytechnic
关键词 正则表示式 非确定性有限自动机(NFA) 算法 regular expressions nondeterministic finite automata (NFA) algorithms
  • 相关文献

参考文献3

  • 1Antimirov V.Partial derivatives of regular expressions and finite automaton constructions[].TheoretComputSci.1996
  • 2Hromkovic,J.Translating regular expressions into smallε-free nondeterministic finite automata[].JComputSystem Sci.2001
  • 3Glushkov V.The abstract theory of automata[].Russian Mathematical Surveys.1961

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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