Connecting Tech Pros Worldwide Forums | Help | Site Map

program for conversion of ndfa to dfa in automata

Newbie
 
Join Date: Sep 2006
Posts: 1
#1: Sep 21 '06
it is very necessary for me .ihv

JosAH's Avatar
Expert
 
Join Date: Mar 2007
Posts: 10,611
#2: Oct 5 '07

re: program for conversion of ndfa to dfa in automata


Quote:

Originally Posted by milind singh

it is very necessary for me .ihv

Read the 'Dragon Book'; the construction is extremely simple, i.e.
for every state transition S->a->E1, S->a->E2 ... S->a->En, build a state
{ E1, E2 ... En } and take all outgoing edges on that new state and add a new
state again until no more new states can be added. Note that this procedure
does not produce a minimal DFA.

kind regards,

Jos
Reply