ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Where is given in the stated link, that ε-transition can be represented by a transition, on a symbol in the alphabet (Σ)?
Please note that the stated regular language is not: 0* + 1*; in which case it was quite easy to build DFA, with 1 state as both the initial & the final state.
That would be the case is 'A' weren't a stop-state. Please check every state again, and verify which ones are stop-states.
Note: it might help if we rewrite the expression as (ε|0+)(ε|1+) =
ε | 0+ | 1+ | 0+1+
Thanks for that, but seems this simple example is dealt nowhere, in literature, or online.
Also, based on your example; can take the regular expression for the regular language: 0* + 1*; as: ε | 0+ | 1+ | (0 U 1)+
Where is given in the stated link, that ε-transition can be represented by a transition, on a symbol in the alphabet (Σ)?
A single ε-transition can't necessarily be represented by a single transition on an alphabet symbol. The link shows how to convert a whole ε-NFA to an equivalent NFA with no ε-transitions. Hence the title "Conversion of Epsilon-NFA to NFA".
A single ε-transition can't necessarily be represented by a single transition on an alphabet symbol. The link shows how to convert a whole ε-NFA to an equivalent NFA with no ε-transitions. Hence the title "Conversion of Epsilon-NFA to NFA".
Sorry, that was there in the link.
Request more details on your opening sentence, as to when it is not possible (it is possible in the given regular language):
'A single ε-transition can't necessarily be represented by a single transition on an alphabet symbol.'
Request more details on your opening sentence, as to when it is not possible (it is possible in the given regular language):
'A single ε-transition can't necessarily be represented by a single transition on an alphabet symbol.'
If you follow the algorithm in the link, and an ε-transition gets turned into multiple alphabet transitions, then it can't be represented by a single one.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.