main idea
- Re to NFA
- NFA to DFA (Subset Construction Method) (也可以先NFA to NFA without $\varepsilon$)
difference between NFA and DFA
stackoverflow: DFA vs NFA engines: What is the difference in their capabilities and limitations?
DFA没有一个状态具有$\varepsilon$转换,即在输入$\varepsilon$上的转换。对每个状态$s$和输入符号$a$,DFA最多只有一条标记为$a$的边离开,即在任何状态下对任一输入符号,最多只有一个转换。
Example 1 (reference 1)
$I$中第一项其实是从state$0$,而$I_a$,$I_b$第一项开始,是从stata $0$开始,经过一个$a$所能到达的几何(可以忽略前后$\varepsilon$)。$b$同理。
Example 2 (reference 2)
(rederence 中ppt图有误。)
more example reference 3.
Reference
- http://blog.csdn.net/qq_23100787/article/details/50402643
- https://raphiinconcordia.files.wordpress.com/2015/05/nfa-to-dfa.ppt
- Puntambekar A A. Formal Languages And Automata Theory[M]. Technical Publications, 2008.
- Aho A V, 阿霍, Sethi R, et al. 编译原理[M]. 机械工业出版社, 2003.