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

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

Комментарии • 92

  • @EasyTheory
    @EasyTheory  4 года назад +5

    Next video! Proving that {0^n 1^n : n at least 0} is not regular: ruclips.net/video/5GG8goBW9gw/видео.html

  • @hectorg362
    @hectorg362 3 года назад +46

    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 10 месяцев назад +2

      it's the same thing though, just with the table you keep track of everything. With a larger alphabet it could get messy.

  • @aokellermann
    @aokellermann 4 года назад +123

    Thank you so much man. You're way more competent than my university professor.

  • @ahmadqureshi5366
    @ahmadqureshi5366 27 дней назад

    Never thought I would be learning theoretical Informatics from Dexter. WOW!!!

  • @2v2
    @2v2 Год назад +1

    Really took all the complex mind bending gymnastics out of it thank you.

  • @bachi5373
    @bachi5373 3 года назад +22

    A lot of videos didn't include the empty string Epsilon. This helps a lot!

  • @JayashreeAPElumalai
    @JayashreeAPElumalai 4 месяца назад

    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.

  • @jjLishy
    @jjLishy 7 дней назад

    WOW?!?!?! I THOUGHT THE LAST VIDEO I SAW WAS THE BEST BUT URS EVEN BETTER!!!!

  • @hurboglan1003
    @hurboglan1003 Год назад +2

    my lecture notes look like alien language but this thing right here, anybody could understand this. Thank you so much

  • @thelogbob281
    @thelogbob281 Год назад +2

    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 года назад +2

    keep up the good work
    This is a the best explanation anyone can get on this course

  • @laurenshoste2773
    @laurenshoste2773 18 дней назад

    better explained than university professor

  • @creeper-d5v
    @creeper-d5v 7 дней назад

    Explained much better than my professor. :)

  • @IncendiaHL
    @IncendiaHL Год назад

    Ok this seemed so difficult in class, but you made it easy. Thank you!!

  • @breakloop
    @breakloop Год назад +3

    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.

  • @kevalgandhi1272
    @kevalgandhi1272 Год назад

    Thank you SO MUCH for your explanation, I got this concept literally just now!! Thanks a lot!

  • @edgermoreno3945
    @edgermoreno3945 3 года назад +9

    Amazing job, you make solving these problems much easier.

  • @amesund
    @amesund 4 года назад +4

    Your videos are so helpful, thank you!

  • @saladrockstar
    @saladrockstar Год назад

    Super helpful for my discrete 2 exam this week! Thanks so much :D

  • @abel5545
    @abel5545 4 года назад +2

    This was very easy to follow. Thanks a lot :)

  • @manalasmouh5549
    @manalasmouh5549 9 месяцев назад +1

    I’m glad i came across this channel cuz my teacher sucks

  • @SimoneBova-k8l
    @SimoneBova-k8l 10 месяцев назад

    Wow! Congrats on the clear explaination

  • @charlie10010
    @charlie10010 Год назад

    Holy crap this method is so beautiful! Thanks!!!

  • @reyhanehakhlaghian9523
    @reyhanehakhlaghian9523 12 дней назад

    Your video helped me a lot. thank you!

  • @isam3l3
    @isam3l3 3 года назад

    Thanks, along side this. Wikipedia helped me grasp the theoretical side a little aswell

  • @NguyenTran-sn8vt
    @NguyenTran-sn8vt Месяц назад

    Very easy to understand viddeo. Thank you so much!

  • @dionysismaniatakosmusic
    @dionysismaniatakosmusic 2 года назад

    Thanks! You did a great job explaining it!

  • @KonstructChannel
    @KonstructChannel 2 года назад +1

    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?

  • @aahilrafiq4850
    @aahilrafiq4850 Год назад +1

    Thank you , i understood really well !

  • @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

  • @cameronfrazier8330
    @cameronfrazier8330 8 месяцев назад

    LITERALLY PERFEECT VIDEO

  • @nikolaytodorov2416
    @nikolaytodorov2416 15 дней назад

    Great stuff, thank you!

  • @memoymishra4619
    @memoymishra4619 Год назад

    C'est incroyable!

  • @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?

  • @helcomn
    @helcomn Год назад +1

    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.

  • @forthehomies7043
    @forthehomies7043 Месяц назад

    Beautiful!

  • @shanestevens516
    @shanestevens516 3 года назад

    way better than my professor!

  • @britannio
    @britannio 3 года назад

    Legendary video

  • @kenana3456
    @kenana3456 3 года назад

    Great explanation , thanks

  • @taijin1369
    @taijin1369 2 месяца назад

    you are the GOAT!

  • @manalasmouh5549
    @manalasmouh5549 9 месяцев назад

    best teacher evaaah

  • @ahmetmurtezaoglu
    @ahmetmurtezaoglu 8 месяцев назад

    Thank you a lot, great work!

  • @TotallyOKaYProductions
    @TotallyOKaYProductions 3 года назад

    this is some good stuff bro

  • @dewman7477
    @dewman7477 4 года назад

    I don't get the echelon part of determining the set of states.

  • @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!!!!

  • @enisozer5007
    @enisozer5007 Год назад

    Great content!

  • @nyanyacalc
    @nyanyacalc Год назад

    Nice explanation, thanks

  • @wujekjerry1188
    @wujekjerry1188 8 месяцев назад

    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 7 месяцев назад

      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!

  • @booqueefiusbartholomuleiii9957
    @booqueefiusbartholomuleiii9957 2 года назад

    Thanks for this great video

  • @glizzy5154
    @glizzy5154 2 года назад

    needed this

  • @溫皓宇-u6y
    @溫皓宇-u6y 7 месяцев назад

    very good video, love it

  • @javawithhawa
    @javawithhawa 3 года назад

    Great video!

  • @stevehof
    @stevehof 2 года назад

    Thanks a bunch! Super clear!

  • @munteanionut3993
    @munteanionut3993 2 года назад

    What if I don't have Epsilon on my NFA?

  • @jiwooahn1966
    @jiwooahn1966 8 месяцев назад

    thanks a lot! u just saved my mid

  • @anarmehraliyev1286
    @anarmehraliyev1286 3 года назад

    Thanks a lot, I finally got it

  • @mohammedmansour3567
    @mohammedmansour3567 2 года назад

    What do you do if you have a lamda transition?

  • @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.

  • @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}.

  • @andreymarchuk8938
    @andreymarchuk8938 3 года назад

    Thank you!

  • @hlo6217
    @hlo6217 2 года назад

    intro is iconic lol 🤣🤣

  • @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.

  • @wentaohe3076
    @wentaohe3076 2 года назад

    very clear

  • @adityamishra6389
    @adityamishra6389 2 года назад

    Thanks man.

  • @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 года назад +3

      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.

  • @ahmetkarakartal9563
    @ahmetkarakartal9563 3 года назад

    thank you so much

  • @zacklnwza0073
    @zacklnwza0073 Год назад

    you the best.

  • @thelockenbubi7117
    @thelockenbubi7117 2 года назад

    Thx dude!

  • @azuboof
    @azuboof Год назад

    youre awesome. thanks

  • @munteanionut3993
    @munteanionut3993 2 года назад

    Thanks a lot! : D

  • @caominhnhat1455
    @caominhnhat1455 4 года назад +3

    *heart react

  • @MatthewMiller-b5e
    @MatthewMiller-b5e 2 месяца назад

    Taylor Matthew Williams Helen Martinez Jason

  • @MatthewMiller-b5e
    @MatthewMiller-b5e Месяц назад

    Perez Edward Hall Brenda Jones Laura

  • @itsweird3373
    @itsweird3373 8 месяцев назад

    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 3 года назад +1

    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 2 месяца назад

    I hate professors for being so damn stupid. Why not just teach it this way?

  • @armandduval4893
    @armandduval4893 2 месяца назад

    Great video, thanks a lot!