Click here to Skip to main content
15,899,754 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hey plz can any one give me code to convert (a+b)*abb from nfa to dfa
plz help me out
Posted
Comments
Andrew Brock 8-Nov-11 12:38pm    
Do you understand the difference? I would love to see someone fail at explaining this in text. And we aren't going to just give you the answer to your homework.

Deterministic only has 1 possible next state from any given state. Draw this out as a bunch of circles and arrow, then figure out how to change it so that there is exactly 1 arrow coming from each circle.
Sergey Alexandrovich Kryukov 14-Nov-11 12:36pm    
Well, I have no idea what's "nfa" or "dfa". Abbreviations?
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900