Conversion of NFA to DFA (Powerset/Subset Construction Example)

  Рет қаралды 107,267

Easy Theory

Easy Theory

Күн бұрын

Пікірлер: 94
@EasyTheory
@EasyTheory 4 жыл бұрын
Next video! Proving that {0^n 1^n : n at least 0} is not regular: kzbin.info/www/bejne/a3iqaZqld7xsndk
@onurcanisler
@onurcanisler 2 жыл бұрын
*You are god.*
@aokellermann
@aokellermann 4 жыл бұрын
Thank you so much man. You're way more competent than my university professor.
@EasyTheory
@EasyTheory 4 жыл бұрын
Blenderfier you're welcome!
@richarddansopeprah17
@richarddansopeprah17 Жыл бұрын
🤣🤣🤣🤣
@hectorg362
@hectorg362 3 жыл бұрын
I personally like this version better than the version where you are building a table of transition states and then drawing out the DFA with that table.
@wasgehdabman
@wasgehdabman 11 ай бұрын
it's the same thing though, just with the table you keep track of everything. With a larger alphabet it could get messy.
@bachi5373
@bachi5373 3 жыл бұрын
A lot of videos didn't include the empty string Epsilon. This helps a lot!
@hurboglan1003
@hurboglan1003 Жыл бұрын
my lecture notes look like alien language but this thing right here, anybody could understand this. Thank you so much
@2v2
@2v2 Жыл бұрын
Really took all the complex mind bending gymnastics out of it thank you.
@ahmadqureshi5366
@ahmadqureshi5366 2 ай бұрын
Never thought I would be learning theoretical Informatics from Dexter. WOW!!!
@JayashreeAPElumalai
@JayashreeAPElumalai 5 ай бұрын
Thank you soo much. Had to study this for finals and I was confused by my own notes. After many vids yours was the only one that answered all my confusions.
@thelogbob281
@thelogbob281 Жыл бұрын
incredible, incredible video! thank you so much for doing what my textbook could not which would be explaining this process in a simple yet explanatory manner. Have a great day!
@yitooasrat4668
@yitooasrat4668 3 жыл бұрын
keep up the good work This is a the best explanation anyone can get on this course
@jjLishy
@jjLishy Ай бұрын
WOW?!?!?! I THOUGHT THE LAST VIDEO I SAW WAS THE BEST BUT URS EVEN BETTER!!!!
@dariusztomaszewski-guerrer7874
@dariusztomaszewski-guerrer7874 3 күн бұрын
awesome video dude - really well explained in a timely manner thanks
@edgermoreno3945
@edgermoreno3945 3 жыл бұрын
Amazing job, you make solving these problems much easier.
@EasyTheory
@EasyTheory 3 жыл бұрын
Glad to help
@creeper-d5v
@creeper-d5v Ай бұрын
Explained much better than my professor. :)
@laurenshoste2773
@laurenshoste2773 Ай бұрын
better explained than university professor
@IncendiaHL
@IncendiaHL Жыл бұрын
Ok this seemed so difficult in class, but you made it easy. Thank you!!
@helcomn
@helcomn Жыл бұрын
Thanks! In the end i was left with only one final state and it was the one that i started with. I checked my DFA and there was no route starting from my ε-enclosure and getting back there, so I assumed it was alright. I'd be happy to hear from your side to see if i did anything questionable. P.S i didnt go to my uni class but you seem superior.
@manalasmouh5549
@manalasmouh5549 10 ай бұрын
I’m glad i came across this channel cuz my teacher sucks
@kevalgandhi1272
@kevalgandhi1272 Жыл бұрын
Thank you SO MUCH for your explanation, I got this concept literally just now!! Thanks a lot!
@breakloop
@breakloop Жыл бұрын
i get uni's might have to stick with teaching the most 'formal/textbook' ways of solving a problem. but being taught these hacky but intuitive methods would make overall comprehension such a breeze and personally i think that's what education should be about.
@saladrockstar
@saladrockstar Жыл бұрын
Super helpful for my discrete 2 exam this week! Thanks so much :D
@reyhanehakhlaghian9523
@reyhanehakhlaghian9523 Ай бұрын
Your video helped me a lot. thank you!
@SimoneBova-k8l
@SimoneBova-k8l Жыл бұрын
Wow! Congrats on the clear explaination
@NguyenTran-sn8vt
@NguyenTran-sn8vt 2 ай бұрын
Very easy to understand viddeo. Thank you so much!
@amesund
@amesund 4 жыл бұрын
Your videos are so helpful, thank you!
@EasyTheory
@EasyTheory 4 жыл бұрын
You're welcome!
@charlie10010
@charlie10010 Жыл бұрын
Holy crap this method is so beautiful! Thanks!!!
@abel5545
@abel5545 4 жыл бұрын
This was very easy to follow. Thanks a lot :)
@EasyTheory
@EasyTheory 4 жыл бұрын
You're very welcome!
@aahilrafiq4850
@aahilrafiq4850 Жыл бұрын
Thank you , i understood really well !
@selinamartinez8067
@selinamartinez8067 2 жыл бұрын
I'm always watching your video! And it is the most awesome lecture I've ever seen since I was born!!!! Thank you SOOOO much!!!!
@nikolaytodorov2416
@nikolaytodorov2416 Ай бұрын
Great stuff, thank you!
@shanestevens516
@shanestevens516 3 жыл бұрын
way better than my professor!
@isam3l3
@isam3l3 3 жыл бұрын
Thanks, along side this. Wikipedia helped me grasp the theoretical side a little aswell
@manalasmouh5549
@manalasmouh5549 10 ай бұрын
best teacher evaaah
@cameronfrazier8330
@cameronfrazier8330 9 ай бұрын
LITERALLY PERFEECT VIDEO
@Kipp3t
@Kipp3t 3 ай бұрын
you are the GOAT!
@TiaDzn
@TiaDzn Жыл бұрын
3:54 "The set of states I could be in from q_2 reading an 'a' is q_0, q_1, q_2" Could you please explain me why "q_1" too? Starting from q_2, with an epsilon we can't go anywhere, with an a we can only go in q_0 and q_2 itself, and with a b only in q_3. Where am I wrong? Thanks in advance.
@zeking3844
@zeking3844 Жыл бұрын
From q_2 on input 'a' you can go to q0 and to the epsilon closure of q0 which is q1
@溫皓宇-u6y
@溫皓宇-u6y 9 ай бұрын
very good video, love it
@jiwooahn1966
@jiwooahn1966 9 ай бұрын
thanks a lot! u just saved my mid
@1SnowBall1
@1SnowBall1 Жыл бұрын
really late to this gem but thank you! I have a question what if there was also an epsilon from q1 to q3 and an epsilon from q3 to q2 what would the starting state look like in the DFA?
@forthehomies7043
@forthehomies7043 3 ай бұрын
Beautiful!
@KonstructChannel
@KonstructChannel 2 жыл бұрын
But what if theres no epsilon enclosure in the NFA? How do I start? Do I just have to start with a if f.e q0 points with a to q1?
@victorolaru8488
@victorolaru8488 2 жыл бұрын
yes
@ahmetmurtezaoglu
@ahmetmurtezaoglu 10 ай бұрын
Thank you a lot, great work!
@nyanyacalc
@nyanyacalc Жыл бұрын
Nice explanation, thanks
@dionysismaniatakosmusic
@dionysismaniatakosmusic 2 жыл бұрын
Thanks! You did a great job explaining it!
@britannio
@britannio 3 жыл бұрын
Legendary video
@memoymishra4619
@memoymishra4619 Жыл бұрын
C'est incroyable!
@Leaf682
@Leaf682 4 жыл бұрын
At 3:11 shouldnt it be just q1 instead of just q2, since getting a 'b' wont let us transition out of that state?
@EasyTheory
@EasyTheory 4 жыл бұрын
I'm not sure where you're getting q1. Note that the state we are testing "from" is {q0, q1} - note that q0 does not have a "b" transition, and q1 does have one to q2. So the resulting "state" is {q2}.
@enisozer5007
@enisozer5007 Жыл бұрын
Great content!
@john_is_never_home6871
@john_is_never_home6871 2 жыл бұрын
"Just use a computer to do this, don't do it by hand". Meanwhile I'm over here studying for my thermotical foundations exam where I know that this will show up.
@kenana3456
@kenana3456 3 жыл бұрын
Great explanation , thanks
@TotallyOKaYProductions
@TotallyOKaYProductions 3 жыл бұрын
this is some good stuff bro
@glizzy5154
@glizzy5154 2 жыл бұрын
needed this
@booqueefiusbartholomuleiii9957
@booqueefiusbartholomuleiii9957 2 жыл бұрын
Thanks for this great video
@mohammedmansour3567
@mohammedmansour3567 2 жыл бұрын
What do you do if you have a lamda transition?
@dewman7477
@dewman7477 4 жыл бұрын
I don't get the echelon part of determining the set of states.
@wujekjerry1188
@wujekjerry1188 9 ай бұрын
Can someone explain to me how {q1, q3} + a = {q1, q2} ?? Thats the only thing I cant understand. Is it because theres no defined states from q3 for the input 'a' this 'thread' kinda 'dies' and we can ignore it completely while q1 when given 'a' can result with both q1 and q2 and thats how we compe up with that?
@ChamaliVishmani1999
@ChamaliVishmani1999 8 ай бұрын
from q1 through 'a' we can go to states {q1,q2}. from q2 we cant go to any state using 'a' transition. So next, when we consider the epsilon closures of q1 and q2, i.e. which states we can go to using epsilon transitions, it is themselves ; {q1,q2}. Hope that helps!
@anarmehraliyev1286
@anarmehraliyev1286 3 жыл бұрын
Thanks a lot, I finally got it
@stevehof
@stevehof 2 жыл бұрын
Thanks a bunch! Super clear!
@javawithhawa
@javawithhawa 3 жыл бұрын
Great video!
@munteanionut3993
@munteanionut3993 2 жыл бұрын
What if I don't have Epsilon on my NFA?
@zacklnwza0073
@zacklnwza0073 Жыл бұрын
you the best.
@Mike-kq5yc
@Mike-kq5yc 4 жыл бұрын
Can you eventually tell me which book(s) your videos rely on? Because the professor in our Theoretical Computer Science lecture is not explaining everything thoroughly and deeply. Thanks in advance.
@EasyTheory
@EasyTheory 4 жыл бұрын
It's mainly the Sipser textbook, 3rd edition. All the notation I use is from there too.
@wentaohe3076
@wentaohe3076 2 жыл бұрын
very clear
@azuboof
@azuboof Жыл бұрын
youre awesome. thanks
@hlo6217
@hlo6217 3 жыл бұрын
intro is iconic lol 🤣🤣
@andreymarchuk8938
@andreymarchuk8938 3 жыл бұрын
Thank you!
@gurkengerd9981
@gurkengerd9981 4 жыл бұрын
How is this a DFA? {q1,q3} have 2 inputs leading to the same state {q1,q2}. This makes it non-deterministic.
@EasyTheory
@EasyTheory 4 жыл бұрын
Not quite. Non-determinism happens when you have 2 transitions *with the same symbol* going from the same state. In this case, it's 2 transitions with *different* symbols. Only one of the two can possibly be taken at a time.
@adityamishra6389
@adityamishra6389 2 жыл бұрын
Thanks man.
@ahmetkarakartal9563
@ahmetkarakartal9563 3 жыл бұрын
thank you so much
@thelockenbubi7117
@thelockenbubi7117 2 жыл бұрын
Thx dude!
@gioscopantana8349
@gioscopantana8349 3 күн бұрын
thatnks!
@munteanionut3993
@munteanionut3993 2 жыл бұрын
Thanks a lot! : D
@caominhnhat1455
@caominhnhat1455 4 жыл бұрын
*heart react
@MatthewMiller-b5e
@MatthewMiller-b5e 3 ай бұрын
Taylor Matthew Williams Helen Martinez Jason
@MatthewMiller-b5e
@MatthewMiller-b5e 3 ай бұрын
Perez Edward Hall Brenda Jones Laura
@itsweird3373
@itsweird3373 10 ай бұрын
abi çok tatlısın da anlatırken niye sinirleniyorsun anlamadım
@ion_propulsion7779
@ion_propulsion7779 Жыл бұрын
Ahhhhh why are you making me do it by hand Sir! 😡
@sharpvik
@sharpvik 4 жыл бұрын
Man, I'm afraid you have a video in your ads...
@Tf_vincent
@Tf_vincent 4 жыл бұрын
Don't understand for shit, plez make second vid...
@VonSteiner1
@VonSteiner1 4 ай бұрын
I hate professors for being so damn stupid. Why not just teach it this way?
@armandduval4893
@armandduval4893 3 ай бұрын
Great video, thanks a lot!
Does the NFA to DFA conversion always make more states?
5:05
Easy Theory
Рет қаралды 3,5 М.
NFA to Regular Expression Conversion, and Example
14:46
Easy Theory
Рет қаралды 108 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Conversion of NFA to DFA
9:28
Neso Academy
Рет қаралды 1,5 МЛН
NFA To DFA Conversion Using Epsilon Closure
7:08
TutorialsPoint
Рет қаралды 345 М.
Fourteen DFA Examples? No Problem!
38:44
Easy Theory
Рет қаралды 11 М.
DFA Minimization Algorithm + Example
21:12
Easy Theory
Рет қаралды 19 М.
Conversion of NFA to DFA Examples (Powerset Construction)
14:26
Easy Theory
Рет қаралды 10 М.
a student tried to bribe me once
3:17
Easy Theory
Рет қаралды 3,5 М.
Conversion of Epsilon NFA to NFA
9:41
Neso Academy
Рет қаралды 1,1 МЛН
Regex to NFA Conversion Isn't Hard! (Sipser 1.28a)
9:15
Easy Theory
Рет қаралды 59 М.