university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary
Inf2A: Converting from NFAs to DFAs and Closure Properties
Stuart Anderson
School of Informatics University of Edinburgh
October 13, 2009
1/43
Inf2A: Converting from NFAs to DFAs and Closure Properties Stuart - - PowerPoint PPT Presentation
Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Inf2A: Converting from NFAs to DFAs and Closure Properties Stuart Anderson School of Informatics University of Edinburgh October 13, 2009 university-logo
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary
1/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary
1
2
2/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary
3/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary NFA - the definitions NFA: Example
4/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary NFA - the definitions NFA: Example
1
2
3
4
5
6/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary NFA - the definitions NFA: Example
7/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary NFA - the definitions NFA: Example
9/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary NFA - the definitions NFA: Example
0−9 1 1 1 2 1 1 1 2 10/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary NFA - the definitions NFA: Example
b a c ε ε ε ε a 1 2 3 4
11/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Converting from NFAs to DFAs Example: Converting from an NFA to a DFA
12/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Converting from NFAs to DFAs Example: Converting from an NFA to a DFA
14/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Converting from NFAs to DFAs Example: Converting from an NFA to a DFA
15/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Converting from NFAs to DFAs Example: Converting from an NFA to a DFA
1
2
1
2
3
3
16/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Converting from NFAs to DFAs Example: Converting from an NFA to a DFA
ε ε ε ε ε 1 1 ε
18/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Converting from NFAs to DFAs Example: Converting from an NFA to a DFA
19/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Converting from NFAs to DFAs Example: Converting from an NFA to a DFA
20/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Converting from NFAs to DFAs Example: Converting from an NFA to a DFA
21/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Converting from NFAs to DFAs Example: Converting from an NFA to a DFA
22/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Converting from NFAs to DFAs Example: Converting from an NFA to a DFA
23/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Converting from NFAs to DFAs Example: Converting from an NFA to a DFA
1 0,1 1 1 1 1 1 1 {2,3,5,6} {3,6} {4,6.7} {6,7} {3,4,6} {0,1,2} φ {2,5,6}
24/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Converting from NFAs to DFAs Example: Converting from an NFA to a DFA
25/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Converting from NFAs to DFAs Example: Converting from an NFA to a DFA
26/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Demonstrating Closure under various operators Closure: Example
27/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Demonstrating Closure under various operators Closure: Example
1
2
29/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Demonstrating Closure under various operators Closure: Example
30/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Demonstrating Closure under various operators Closure: Example
a b a a b a b b
31/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Demonstrating Closure under various operators Closure: Example
1
2
32/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Demonstrating Closure under various operators Closure: Example
33/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Demonstrating Closure under various operators Closure: Example
1
2
34/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Demonstrating Closure under various operators Closure: Example
a b a a b b b a a b a b a b a,b a,b p0 p1 p2 p3 q0 q1 q2 q3 q4
36/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Demonstrating Closure under various operators Closure: Example
a b a a b a a b a b a b a,b a,b b b p0 p1 p2 p3 q0 q1 q2 q3 q4
37/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Demonstrating Closure under various operators Closure: Example
38/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Demonstrating Closure under various operators Closure: Example
39/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Demonstrating Closure under various operators Closure: Example
40/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary Demonstrating Closure under various operators Closure: Example
41/43
university-logo Non-Deterministic Finite Automata The Conversion Theorem Closure Properties Summary
42/43