Automata
Automata
DFA Minimization
& %
-0
' $
& %
-1
' $
& %
-2
' $
3. Combine states.
For each unmarked (q, q 0 )
(a) If p a → q 0 then add p a → q.
(b) If q 0 a → p then add q a → p.
(c) Remove q’.
(d) Remove p a → q 0 , q 0 a → p for all p ∈ Q and
a ∈ Σ (i.e. remove q 0 and all transitions
leading to and from q 0 ).
4. Resulting DFA is minimal.
& %
-3
' $
Example
& %
-4
' $
& %
-5