期刊文献+

构造正则表达式的简化 DFA 算法 被引量:3

Algorithm for Constructing the Simplified DFA of Regular Expressions
下载PDF
导出
摘要 介绍了构造等价于给定正则表达式的简化确定有限自动机(DFA)的算法.方法是首先构造与正则表达式等价的非确定有限自动机(NFA),这里省略了构造带ε动作的有限自动机的操作,然后用状态树构造与该NFA等价的简化DFA.这个算法在计算机上已实现,并且对输入的任意正则表达式,都可以输出等价于正则表达式的简化DFA.该算法可以用于某些离散信息处理系统的设计与分析. An algorithm for constructing the simplified DFA(Deterministic Finite Automaton) is introduced,which is equivalent to a given regular expression. The first step constructs an NFA(Nondeterministic Finite Automaton) equivalent to the regular expression, where the operation for constructing finite automata with ε moves is omitted. Then the simplified DFA equivalent to the NFA is constructed by using state transition trees. The algorithm bas been realized by computer programming, and for any input regular expression, a simplified DFA equivalent to the regular expression is produced. The algorithm can be applied in the design and analysis of the system with discrete inputs and outputs.
作者 檀凤琴
出处 《北京航空航天大学学报》 EI CAS CSCD 北大核心 1998年第4期495-498,共4页 Journal of Beijing University of Aeronautics and Astronautics
关键词 有限自动机 状态函数 识别 状态图 正则表达式 finite automata states state functions recognition state diagrams
  • 相关文献

参考文献1

  • 1孙怀民,离散数学,1990年

同被引文献15

  • 1杨毅夫,刘燕兵,刘萍,郭牧怡,郭莉.正则表达式的DFA压缩算法[J].通信学报,2009,30(S1):36-42. 被引量:6
  • 2Wilhelm R, Maurer D. Compiler design [ M ]. Addison - Wesley, 1986.
  • 3Steven S Muchnick. Advanced compiler design and implementation [ M ]. Morgan Kaufmann Publishers, 1999.
  • 4Aho,A. V. J. E. HOPCROFT and J. D. ULLMAN. The Design and Analysis of Computer Algorithms [ J ]. Addixon - Wesley, Reading, Mass,2000.
  • 5李建中,译.编译原理[M].北京:机械工业出版社,2004.
  • 6陈火旺,钱家骅,孙永强.程序设计设计编译原理[M].3版.安徽:国防工业出版社,2000.
  • 7Alfred V. Aho, Ravi Sethi and Jeffrey D. Ullman Compilers : Principles, Techniques, and Tools [ M ]. Pearson Education, 2nd edition, 1986.
  • 8严蔚敏 吴伟民.数据结构[M].北京:清华大学出版社,1997..
  • 9张伟,薛一波,嵩天.支持多正则表达式匹配的硬件结构[J].清华大学学报(自然科学版),2009(10):1704-1707. 被引量:5
  • 10张树壮,罗浩,方滨兴.面向网络安全的正则表达式匹配技术[J].软件学报,2011,22(8):1838-1854. 被引量:29

引证文献3

二级引证文献9

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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