NFA to Regular Expression Conversion, and Example
Here we convert a simple NFA into a regular expression as easily as possible. We first modify the NFA so that there is a single start state with nothing goin...
🔥 Related Trending Topics
LIVE TRENDSThis video may be related to current global trending topics. Click any trend to explore more videos about what's hot right now!
THIS VIDEO IS TRENDING!
This video is currently trending in France under the topic 'm6 pékin express'.
About this video
Here we convert a simple NFA into a regular expression as easily as possible. We first modify the NFA so that there is a single start state with nothing going into it, and a single final state with nothing leaving it. Then we "rip" states out one at a time until we have just two states left, which contains the desired regular expression.
This is known as the "GNFA" (Generalized NFA) method.
What is a nondeterministic finite automaton (NFA)? It is a finite state machine, with "states" and transitions between them, allowing choices as compared to a deterministic FA. See https://www.youtube.com/watch?v=P5iWwYtwlwg&ab_channel=EasyTheory for more details.
Easy Theory Website: https://www.easytheory.org
GoFundMe: https://www.gofundme.com/f/easy-theory-video-studio
Patreon: https://www.patreon.com/EasyTheoryYT
Fourthwall: https://easy-theory-llc-shop.fourthwall.com
Problem Solving channel: @easytheoryprobsolve
Timestamps:
0:00 - Intro
0:39 - Overview of Steps
1:17 - Fix the NFA
2:10 - Start of Ripping States
2:39 - Rip q3
6:30 - Rip q2
9:10 - Rip q0
11:25 - Rip q1
13:05 - Conclusion
Easy Theory website: https://www.easytheory.org
If you like this content, please consider subscribing to my channel: https://www.youtube.com/channel/UC3VY6RTXegnoSD_q446oBdg?sub_confirmation=1
▶ADDITIONAL QUESTIONS◀
1. Does the GNFA method truly work for ANY NFA?
2. What happens if we ripped the states out in a different order?
Video Information
Views
143.7K
Total views since publication
Likes
3.8K
User likes and reactions
Duration
14:46
Video length
Published
Mar 9, 2020
Release date
Quality
hd
Video definition
About the Channel
Tags and Topics
This video is tagged with the following topics. Click any tag to explore more related content and discover similar videos:
#gnfa method #nfa to regex #dfa to regex #gnfa conversion #nfa conversion #nfa to regex conversion #nfa rip states #dfa to regular expression conversion #nfa to regex example #nfa to regular expression #dfa to regex example #nfa to regular expression conversion #dfa to regex algorithm #dfa to regex examples #nfa to regex converter #dfa to regular expression #gnfa to regular expression #dfa to gnfa #finite automata to regular expression #dfa rip states #gnfa #easy theory
Tags help categorize content and make it easier to find related videos. Browse our collection to discover more content in these categories.