Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compilers > Re: Why nfa-eps...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 2337 of 2472
Post > Topic >>

Re: Why nfa-epsilon?

by Derek <derekrss@[EMAIL PROTECTED] > Feb 24, 2008 at 12:05 PM

On Feb 23, 3:48 pm, Erik de Castro Lopo wrote:
> I'm playing around with the conversion of NFAs to DFAs.
>
> I'm perfectly happy with my understanding of the difference between
> NFAs and DFAs, but as far as I can see there are at least two
> (possibly overlapping) kinds of NFAs:
>
>  - NFAs with epsilon transitions, where no input symbols are
>    consumed when moving from state to state on an epsilon
>    transition.
>
>  - NFAs which when in some state and accepting an input symbol
>    can transtion to more than one state.
>
> I realise that these two are basically eqivalent and that either
> of these could be converted to the other, but I've found a couple
> of articles on the web explaining the conversion of the first type
> of NFA to a DFA, but none explaining the second.
>
> Why is that?

Since you can always change the second type of NFA to the first type
by adding some epsilon states in the right place, you can always do
the conversion to DFA via a two-step process. First change the second
type of NFA to the first type by adding the required epsilon states.
Then change the resulting NFA to a DFA using the techniques that
you've read about. That way you don't need an article explaining how
to change the second type of NFA to a DFA.  I would reckon that that
is the reason that you can't find any articles on the process.

Cheers

Derek
 




 3 Posts in Topic:
Why nfa-epsilon?
Erik de Castro Lopo <e  2008-02-24 09:48:01 
Re: Why nfa-epsilon?
Derek <derekrss@[EMAIL  2008-02-24 12:05:56 
Re: Why nfa-epsilon?
Chris F Clark <cfc@[EM  2008-02-24 18:22:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 2:26:14 CDT 2008.