• edited by
1,809 views
0 0 votes
Help me understand  this statement from Theory of Computation by Peter Linz

"If between two vertices vi and vj there is any walk labeled w, then there must be some walk labeled w of length no more than Λ + (1 + Λ) |w|, where Λ is the number of λ- edges in the graph. The argument for this is: While λ-edges may be repeated, there is always a walk in which every repeated λ-edge is separated by an edge labeled with a nonempty symbol. Otherwise, the walk contains a cycle labeled λ, which can be replaced by a simple path without changing the label of the walk."

 

I am also having  difficulty in understand  extended  transition function  for an  nfa  , would be really helpful if someone could explain that.

1 Answer

0 0 votes

Extended Transition Function for NFA with $(\epsilon )$ - Transitions 

For single input symbols extended transition function behaves same as normal transition function in case of DFA and NFA without  $(\epsilon )$ - Transitions. 

But not in case of NFA with $(\epsilon )$ - Transition. 

Remember this,

$\epsilon $-closure({q1,q2,...qn})=$\epsilon $(q1)$\bigcup$$\epsilon $(q2)$\bigcup$....$\bigcup$$\epsilon $(qn)

Now applying the above rule in the example given in fig:-

$\epsilon $-closure({q0,q1,q2,q3})=$\epsilon $(q1)$\bigcup$$\epsilon $(q2)$\bigcup$$\epsilon $(q0)

={{q0,q1,q2,q3}$\bigcup${q2}$\bigcup${q0,q3}. 

After having taken the union of the above sets we finally get,
={q0,q1,q2,q3}

Position:
Show:

Related questions

0 0 votes
0 0 answers
836
836 views
jatin khachane 1 asked Oct 7, 2018
836 views
PETER LINZ For an nfa, the extended transition function is defined so that ∂*(qi,w) contains qj if and only if there is a walk in the transition graph from qi to qj label...
0 0 votes
0 0 answers
345
345 views
Naveen Kumar 3 asked Apr 3, 2019
345 views
Find nfa's for $L (aØ)$ and $L (Ø^*)$. Is the result consistent with the definition of these languages?
0 0 votes
1 1 answer
475
475 views
0 0 votes
0 0 answers
511
511 views
Naveen Kumar 3 asked Mar 30, 2019
511 views
Write a Computer program that produces a minimal dfa for any given dfa.