A Quick Non-Deterministic to Deterministic Finite Automata Conversion

Sdílet
Vložit
  • čas přidán 3. 03. 2022
  • In this lesson, we convert a non-deterministic finite automata (NFA) to a deterministic one (DFA). It is assumed that the viewer is at least partially familiar with the differences between these two classifications of finite state machines.
    Timestamps
    00:17 | Problem definition
    01:31 | RegEx to state diagram
    02:38 | Diagram to transition table
    04:52 | Initializing the set of states for the DFA, Q'
    05:51 | Iteratively building the rows of the transition table
    11:55 | Identifying accepting states
    13:01 | Relabeling the states
    14:32 | Creating the DFA state diagram
    16:59 | Evaluating our new state machine
    Hashtags
    #deterministic #finite #automata

Komentáře • 36

  • @IMominMahmudJalib
    @IMominMahmudJalib Před 2 lety +29

    This channel is gonna blow up someday. It deserves more subscribers. Too good production quality.

    • @benr3346
      @benr3346 Před 2 lety +1

      aaaand a legend was born...

  • @BoredTAK5000
    @BoredTAK5000 Před dnem

    This is so helpful. MILES better than my uni lecturer.

  • @yousefali995
    @yousefali995 Před 2 lety +5

    I don't know why this channel isn't getting millions of views

  • @PG-jv5nw
    @PG-jv5nw Před rokem +3

    You are truly a great educator. It takes hours and hours to understand this topic but you explained in just few minutes. Your video makes me think how much garbage is thown at us in college.

  • @adimasariefrahman8555
    @adimasariefrahman8555 Před 2 lety +2

    this channel should be recognize by peoples

  • @dylanpivo2264
    @dylanpivo2264 Před 2 lety

    Such a clear and well presented explanation. Well done and thanks so much!

  • @jaybhavsar6741
    @jaybhavsar6741 Před rokem

    Such a clear and fruitful explanation! Thank you sir!

  • @computersciencestudent1129

    such a great example it cleared all doubts I had for converting from non-deterministic to dertinistic thank you !!!

  • @jacobmonster8234
    @jacobmonster8234 Před 5 měsíci

    Incredibly easy thanks to you!

  • @user-cb6kz1ll3l
    @user-cb6kz1ll3l Před 5 měsíci

    I generally read comments before watching a video,
    so, to help others find this amazing video, here's my review - 5⭐

  • @bangvu2127
    @bangvu2127 Před rokem

    Awesome. Thanks for the great explanation

  • @keegster7167
    @keegster7167 Před rokem +1

    Thanks!! I’m studying in a graduate course for human language technology and I couldn’t quite see the picture of what was going on with this until now. Beautiful video btw

  • @darkyoumemento5307
    @darkyoumemento5307 Před 2 lety +1

    Beautiful explanation

  • @radocsaibalazs4499
    @radocsaibalazs4499 Před 2 lety

    Thank you so much this helped a lot!

  • @HarmonicPhilosophy
    @HarmonicPhilosophy Před 2 lety +1

    Thank you.

  • @gabrielruszala4432
    @gabrielruszala4432 Před rokem

    So so so helpful, thank you

  • @tiara7624
    @tiara7624 Před 2 měsíci

    Very nice thank you so much

  • @khaledalsouleman8290
    @khaledalsouleman8290 Před 4 měsíci

    Good Work thanks a lot❤

  • @bhspringer
    @bhspringer Před 2 lety +1

    Thank you that was amazing

    • @Intermation
      @Intermation  Před 2 lety

      You're welcome! I appreciate the kind words.

  • @roccococolombo2044
    @roccococolombo2044 Před 3 měsíci

    Ça ne peut être expliqué plus clairement. Bravo.

  • @ziliscite
    @ziliscite Před měsícem

    Awesome

  • @jediboybetos5759
    @jediboybetos5759 Před 2 lety +6

    Non-deterministic finite automata also has something called epsilon transitions. Can you make a video converting NFA with ε to DFA?

    • @Intermation
      @Intermation  Před 2 lety +6

      That's a great idea. I was so focused on moving toward implementation in hardware (which doesn't address epsilon transitions) that I didn't think anyone would be interested.

  • @sohailshaikh786
    @sohailshaikh786 Před 7 měsíci

    Nice explanation

  • @user-vd3gu5gp8m
    @user-vd3gu5gp8m Před 6 měsíci

    WOW, This teacher looks really like my IELTS SPEAKING TEST officer😇
    BTW, Thank you for your clear explanation.

  • @DavidLindes
    @DavidLindes Před 7 měsíci

    Well, this is out of order, but having another example NFA helped me catch a bug in my code to create a DFA from one, based on the recent Computerphile video.
    Of course, I might also have to re-think some things, because I don't keep around the empty-set transitions (or state e, in your final form)... instead just returning False if there's not a transition defined between two states (and, for example, I don't define a transition for starting at a and getting a 1). I'm fairly certain the effect is the same, but it looks different. Interesting.

  • @cricketmaster7697
    @cricketmaster7697 Před 3 měsíci

    Hey i had a question. Sometimes this method doesnt work and we need to use an epsilon transition method instead. How do we know if an NFA can be solved in the way described in this video and when we need to use the epsilon method?

  • @travisquigg2450
    @travisquigg2450 Před rokem +1

    My only pet peeve is the squeaky sound of the marker. Other than that love the videos. Very informative!

  • @a_wheelbarrow
    @a_wheelbarrow Před rokem

    What if the original NDFA has multiple exit-states (let's say they are q2 and q3; q0 is our starting state and q1 is neither). Will our DFA's exit states be the ones that have BOTH/ALL of the NDFA exit states (so {q2, q3}, {q1, q2, q3}, {q0, q2, q3} and {q0, q1, q2, q3}) or if they have ANY of the NDFA's exit states (so {q1, q2}, {q2}, {q3} etc.)?

  • @angz2717
    @angz2717 Před 6 měsíci

    didn't know Walter White gave CS lectures

  • @user-tg5es9rp4c
    @user-tg5es9rp4c Před rokem

    Thank you soooo much!!

  • @riddle-master-ruben
    @riddle-master-ruben Před 6 měsíci

    Wouldn’t “000” be rejected even though it should be accepted"? We have a 0, then any number of 1’s (in this case 0/none), and still end in a 0. But it gets rejected as it follows states a,b,c,e (rejected)

    • @riddle-master-ruben
      @riddle-master-ruben Před 6 měsíci

      Oh I see. Concatenation says we should start with 0, have any number of 1’s, then immediately end in 0 or 1. 000 should be rejected. As it does not immediately end in 0 but there is another 0 that follows.

  • @sek0ner7
    @sek0ner7 Před rokem

    Are you the god or something?