Professional Documents
Culture Documents
Colin Campbell
Engineering Mathematics Department
C.Campbell@bris.ac.uk
δ(q, e) = e − closure (q )
0 1 0,1
e e
q0 q1 q2
0 e
q0 q1 q2
For the given eNFA, its transition function, which we write as δN is:
δN (q0 , 0) = {q1 }
δN (q0 , e) = {φ}
δN (q1 , 0) = {φ}
δN (q1 , e) = {q2 }
δN (q2 , 0) = {φ}
δN (q2 , e) = {q0 }
N 0 = Q 0 , Σ, δ0 , q00 , F 0
where:
State 0
→ q0 ?{q0 , q1 , q2 }
?{q0 , q1 , q2 } ?{q0 , q1 , q2 }
{ q0 , q2 } ?{q0 , q1 , q2 }
As no new states are appearing, we stop there. We can now
construct the transition table:
State 0
→ q0 ?{q0 , q1 , q2 }
?{q0 , q1 , q2 } ?{q0 , q1 , q2 }
{ q0 , q2 } ?{q0 , q1 , q2 }
0
0
q0 {q 0 ,q 1 ,q 2 }
{q 0 ,q 2 }
State 0
→ q0 ?{q0 , q1 , q2 }
?{q0 , q1 , q2 } ?{q0 , q1 , q2 }
0
0
q0 {q 0 ,q 1 ,q 2 }
Though not part of the course, you may want to read further
within this interesting topic and look at pushdown automata,
Moore and Mealy machines and related topics.