A Quick Non-Deterministic to Deterministic Finite Automata Conversion

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 มี.ค. 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

ความคิดเห็น • 35

  • @IMominMahmudJalib
    @IMominMahmudJalib 2 ปีที่แล้ว +29

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

    • @benr3346
      @benr3346 2 ปีที่แล้ว +1

      aaaand a legend was born...

  • @yousefali995
    @yousefali995 2 ปีที่แล้ว +5

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

  • @PG-jv5nw
    @PG-jv5nw ปีที่แล้ว +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 2 ปีที่แล้ว +2

    this channel should be recognize by peoples

  • @user-cb6kz1ll3l
    @user-cb6kz1ll3l 4 หลายเดือนก่อน

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

  • @computersciencestudent1129
    @computersciencestudent1129 ปีที่แล้ว +1

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

  • @dylanpivo2264
    @dylanpivo2264 2 ปีที่แล้ว

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

  • @jaybhavsar6741
    @jaybhavsar6741 ปีที่แล้ว

    Such a clear and fruitful explanation! Thank you sir!

  • @jacobmonster8234
    @jacobmonster8234 4 หลายเดือนก่อน

    Incredibly easy thanks to you!

  • @keegster7167
    @keegster7167 ปีที่แล้ว +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

  • @bangvu2127
    @bangvu2127 ปีที่แล้ว

    Awesome. Thanks for the great explanation

  • @darkyoumemento5307
    @darkyoumemento5307 2 ปีที่แล้ว +1

    Beautiful explanation

  • @radocsaibalazs4499
    @radocsaibalazs4499 2 ปีที่แล้ว

    Thank you so much this helped a lot!

  • @user-vd3gu5gp8m
    @user-vd3gu5gp8m 5 หลายเดือนก่อน

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

  • @roccococolombo2044
    @roccococolombo2044 2 หลายเดือนก่อน

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

  • @gabrielruszala4432
    @gabrielruszala4432 ปีที่แล้ว

    So so so helpful, thank you

  • @tiara7624
    @tiara7624 2 หลายเดือนก่อน

    Very nice thank you so much

  • @HarmonicPhilosophy
    @HarmonicPhilosophy 2 ปีที่แล้ว +1

    Thank you.

  • @jediboybetos5759
    @jediboybetos5759 2 ปีที่แล้ว +6

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

    • @Intermation
      @Intermation  2 ปีที่แล้ว +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.

  • @khaledalsouleman8290
    @khaledalsouleman8290 3 หลายเดือนก่อน

    Good Work thanks a lot❤

  • @ziliscite
    @ziliscite 27 วันที่ผ่านมา

    Awesome

  • @bhspringer
    @bhspringer 2 ปีที่แล้ว +1

    Thank you that was amazing

    • @Intermation
      @Intermation  2 ปีที่แล้ว

      You're welcome! I appreciate the kind words.

  • @sohailshaikh786
    @sohailshaikh786 7 หลายเดือนก่อน

    Nice explanation

  • @DavidLindes
    @DavidLindes 6 หลายเดือนก่อน

    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.

  • @travisquigg2450
    @travisquigg2450 ปีที่แล้ว +1

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

  • @cricketmaster7697
    @cricketmaster7697 2 หลายเดือนก่อน

    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?

  • @a_wheelbarrow
    @a_wheelbarrow ปีที่แล้ว

    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.)?

  • @riddle-master-ruben
    @riddle-master-ruben 5 หลายเดือนก่อน

    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 5 หลายเดือนก่อน

      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.

  • @angz2717
    @angz2717 6 หลายเดือนก่อน

    didn't know Walter White gave CS lectures

  • @sek0ner7
    @sek0ner7 ปีที่แล้ว

    Are you the god or something?

  • @user-tg5es9rp4c
    @user-tg5es9rp4c ปีที่แล้ว

    Thank you soooo much!!