Regular Languages: Nondeterministic Finite Automaton (NFA)

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 48

  • @VahiMangai
    @VahiMangai 4 роки тому +129

    Yeah this is good learning. College is suffering and I understand not everyone can possess such gifts and talents, so thank you kindly for allowing us to witness yours.

  • @farhanrafi54
    @farhanrafi54 4 роки тому +24

    hey i'd just like to thank you for saving my semester

  • @talkjoin
    @talkjoin 2 роки тому +52

    100 times easier/more enjoyable for me to learn from these videos than from a university lecture....thank you

  • @houseofeufori
    @houseofeufori 3 роки тому +20

    Your way of explaining both DFAs and NFAs is very clear and concise, thank you so much! :)

  • @BaruchRGarcia-rm6kt
    @BaruchRGarcia-rm6kt Рік тому +2

    Theoretical computer science helps us put limits on computation; If it cannot happen in the theoretical models, then it cannot happen in real life. Lydia does an AMAZING job at this. You are a gifted teacher Lydia!

  • @osmanyakar156
    @osmanyakar156 4 роки тому +11

    03:00 yes it accepts single "1" but; It will also accept any input sequence that contains "1". Because of the unweighted path between starting node q0 and q4, anytime when you take "1" there will be a path to q5 which is a final state. So the condition of "1 in the third final position" becomes kind of inefective.

    • @arshpreetsingh239
      @arshpreetsingh239 3 роки тому +3

      Yes I agree. There's a flaw in the NFA since it will not only accept 1 but will also accept the strings 11, 011 or 0101, which do not satisfy the language.

    • @hustler2001
      @hustler2001 Рік тому +2

      No it won't accept the all strings that contain 1 but the only ones which ends with 1

  • @AnuragYadav-cv2vo
    @AnuragYadav-cv2vo 2 роки тому +1

    I'll get my whole college class to watch your playlist I Loved it

  • @expansivegymnast1020
    @expansivegymnast1020 3 роки тому +4

    Your channel is helping me graduate. Thank you so much!

  • @glitchlover260
    @glitchlover260 4 роки тому +7

    thank you! Take my heart ❤ . Please make regular expression and it how to represent it as an nfa in next video. And again thank you so much for the effort !

  • @lvish_sharma_
    @lvish_sharma_ 10 днів тому

    Thank you so much for putting effort into making this. You're amazing.

  • @Ai-gh8xq
    @Ai-gh8xq 7 місяців тому +1

    hey, these videos are GREAT

  • @tibetannoodles
    @tibetannoodles 2 роки тому +3

    i always find it difficult when the professors goes with the bookish description.... like learning the basic and understanding the topic is the base of your solution. thank you very much and please keep doing what you do!

  • @SupreetSinghsuppi
    @SupreetSinghsuppi 3 роки тому

    This is a gold mine. Thank you for making this.

  • @Yeahmansingh
    @Yeahmansingh Рік тому

    you made it very easy to understand

  • @easyexamcare3222
    @easyexamcare3222 4 роки тому +3

    I saw all your videos...👌👌👌

  • @noatak6027
    @noatak6027 2 роки тому +1

    Hey how come you stopped making videos? Your videos are so clear and easy to understand.

  • @stxllr4687
    @stxllr4687 2 роки тому

    thanks you saved my grade!

  • @sahilghuge5302
    @sahilghuge5302 2 місяці тому +1

    come back for explaining regular expressions too 😭🙏

  • @khasanshadiyarov
    @khasanshadiyarov 11 місяців тому

    Thanks for the videos, explained very well

  • @mustapharaimilawal8053
    @mustapharaimilawal8053 3 роки тому

    Awesome video, please do more. Thanks.

  • @hafsaesam2860
    @hafsaesam2860 2 роки тому

    such a good work!! Thank you very much

  • @sunflowerglaxy6735
    @sunflowerglaxy6735 2 роки тому

    fascinating video

  • @guadalupevictoriamartinez4537
    @guadalupevictoriamartinez4537 2 роки тому +2

    paying for university courses to come learn on youtube instead. smh. super helpful!

  • @ericbaptista536
    @ericbaptista536 3 роки тому

    Thank you!!!!! Could you make one for converting NFA to DFA??

  • @MayCodeGuide
    @MayCodeGuide 10 місяців тому

    The video provides an in-depth explanation of Nondeterministic Finite Automata (NFAs) in contrast to Deterministic Finite Automata (DFAs). Here's a summary of the main points discussed:
    Definition and Differences: NFAs, unlike DFAs, can transition into zero or more states for each symbol in the input. This characteristic makes them nondeterministic, as their next state is not always predetermined.
    Examples and Acceptance Criteria: The video illustrates this concept through examples, including an NFA that accepts strings containing a '1' in the third position from the end. It highlights a key feature of NFAs: a string is accepted as long as there exists at least one path to an accept state, regardless of other possible paths that might lead to rejection.
    Transition on Empty String: NFAs can also transition on the empty string, meaning they can change states without consuming any input symbols. This adds flexibility in constructing NFAs for certain languages.
    Formal Definition: NFAs are defined as five-tuples, similar to DFAs, but with a transition function that can output a set of possible states instead of just one. This allows for multiple potential pathways through the automaton for a given input string.
    Equivalence with DFAs: Despite the structural differences, the video concludes that NFAs are not more powerful than DFAs. Any language recognized by an NFA can also be recognized by a DFA, meaning both can define the same set of regular languages. NFAs offer a more simplified construction for certain languages without increasing the computational power beyond that of DFAs.
    This explanation underscores the theoretical underpinnings of finite automata in computer science, particularly in the areas of language recognition and automata theory.

  • @Nillipilli
    @Nillipilli 2 роки тому

    Well done 👍🏻

  • @brychjakub
    @brychjakub 2 роки тому +1

    you have saved me hours with scripts I do not understand. A question: why would DFA be used if there are NFAs? wouldn't that be always easier?

  • @vitquack4078
    @vitquack4078 3 роки тому

    Learned a lot thank

  • @techfunwithaadil
    @techfunwithaadil Рік тому

    Thank you 🙏

  • @mk_4567
    @mk_4567 2 роки тому +1

    if an empty string is given as an input then the automata should directly jump to accept state looking at it, but it has two steps q4 and then q5. But where does the 1 input come in an empty string to take it from q4 to q5

  • @psyco.8137
    @psyco.8137 2 роки тому

    Can you explain the subset costruction algorithm? Thank you

  • @chrishughes8188
    @chrishughes8188 2 роки тому

    at 00:41, isn't this actually an NFA since there are several states which transition on both: 0,1 ? I thought a DFA must only transition on 1 or 0?

    • @chrishughes8188
      @chrishughes8188 2 роки тому

      The video answered my question - an NFA actually can remain in the same state on 1, OR transition on 1. Great videos, I hope you make more! You have a talent for teaching.

  • @danielestebancastilloortiz3730
    @danielestebancastilloortiz3730 2 роки тому

    Eres la mejor

  • @debasishkar761
    @debasishkar761 6 місяців тому

    what is the input used for transition from q0 to q4 ?

  • @khasanshadiyarov
    @khasanshadiyarov 11 місяців тому +2

    0:38 Hmm, it doesn't accept 010100

    • @Cokk9ine
      @Cokk9ine 27 днів тому

      Good catch 😂

  • @amrob1768
    @amrob1768 Рік тому

    Very calm and cute voice hope you are doing good in life

  • @seba6505
    @seba6505 3 роки тому

    thank you so much

  • @aryaabhishek2743
    @aryaabhishek2743 7 місяців тому

    the dfa doesn't accept 1110100 but i think it's in the language.

  • @chlwhas6139
    @chlwhas6139 2 місяці тому

    0:40 The DFA is wrong.

  • @ashabajasper
    @ashabajasper Рік тому

    Been following from the first video but somehow, I've failed to understand this😢

  • @NkatekoMuthembi
    @NkatekoMuthembi 10 місяців тому

    Design a deterministic finite automata

  • @timothydavis2568
    @timothydavis2568 2 роки тому

    Man I've been trying to put my finger on your accent since the beginning of the series, and I think I finally got it. You grew up in India, but studied abroad/moved to the U.S., or work really hard to neutralize your indian accent.
    DId I get it right? 😜
    Great series, btw

  • @furiousabdo
    @furiousabdo 6 місяців тому

    bro its pronounced aksept not assept