how to convert NFA to DFA in c

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Sep 2006
Posts: 8
Reputation: ashokkumarrsp is an unknown quantity at this point 
Solved Threads: 0
ashokkumarrsp ashokkumarrsp is offline Offline
Newbie Poster

how to convert NFA to DFA in c

 
0
  #1
Sep 5th, 2006
kindly give me the source code for NFA to DFA conversion.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 1,496
Reputation: WolfPack has a spectacular aura about WolfPack has a spectacular aura about WolfPack has a spectacular aura about 
Solved Threads: 104
Moderator
WolfPack's Avatar
WolfPack WolfPack is offline Offline
Mentally Challenged Mod.

Re: how to convert NFA to DFA in c

 
0
  #2
Sep 5th, 2006
What is NFA and DFA?
By the way, here are some sample answers you may get.
バルサミコ酢やっぱいらへんで
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 275
Reputation: andor has a spectacular aura about andor has a spectacular aura about andor has a spectacular aura about 
Solved Threads: 29
andor's Avatar
andor andor is offline Offline
Posting Whiz in Training

Re: how to convert NFA to DFA in c

 
1
  #3
Sep 5th, 2006
Can you specify your problem more clearly?Click here
Last edited by andor; Sep 5th, 2006 at 4:30 am.
If you want to win, you must not loose (Alan Ford)
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 8
Reputation: ashokkumarrsp is an unknown quantity at this point 
Solved Threads: 0
ashokkumarrsp ashokkumarrsp is offline Offline
Newbie Poster

Re: how to convert NFA to DFA in c

 
1
  #4
Sep 6th, 2006
Originally Posted by andor View Post
Can you specify your problem more clearly?Click here
dear sir,
i want to generate a non-deterministic finite automata for a expression.eg:(a|b)*abb. then to convert the NFA to deterministic finite automata
Last edited by Dave Sinkula; Sep 6th, 2006 at 1:30 am. Reason: Disabled smilies.
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 178
Reputation: jim mcnamara is on a distinguished road 
Solved Threads: 10
jim mcnamara jim mcnamara is offline Offline
Junior Poster

Re: how to convert NFA to DFA in c

 
1
  #5
Sep 6th, 2006
Are you talking about using NFA regexp in a DFA environment?
Start with a DFA tool is the simple answer. There really is no code to convert from one to another, because it doesn't make much sense to do so. C and C++ have regexp libraries available for them. Pick one. Windows provides the .NET version.

You do realize that which tool you use dictates which type of regex processing occurs? To get a list of which tools have what regex flavor (including POSIX) try:

J Friedl 'Mastering Regular Expressions' 2nd ed 2004

Then if you want, download source for one of them.
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 1
Reputation: samuelsandy has a little shameless behaviour in the past 
Solved Threads: 0
samuelsandy samuelsandy is offline Offline
Newbie Poster

Re: how to convert NFA to DFA in c

 
-2
  #6
Jun 19th, 2009
kindly give me the source code for NFA to DFA conversion.
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 1
Reputation: chaithra is an unknown quantity at this point 
Solved Threads: 0
chaithra chaithra is offline Offline
Newbie Poster

requsting

 
0
  #7
Oct 10th, 2009
Originally Posted by ashokkumarrsp View Post
kindly give me the source code for NFA to DFA conversion.
i want the code for coverting nfa to dfa
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 2
Reputation: h.mehr is an unknown quantity at this point 
Solved Threads: 0
h.mehr h.mehr is offline Offline
Newbie Poster
 
0
  #8
Oct 23rd, 2009
hello
I need C code to build a finite automata and NON deterministic automata translate to equal DFA. This is for my project please help!
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC