Minimization of DFA (Example 1)

Поделиться
HTML-код
  • Опубликовано: 15 сен 2024
  • TOC: Minimization of DFA - Examples (Part 1)
    This lecture shows how to minimize a DFA with an example. The steps are demonstrated using this example
    Contribute: www.nesoacademy...
    Website ► www.nesoacademy...
    Facebook ► goo.gl/Nt0PmB
    Twitter ► / nesoacademy
    Pinterest ► / nesoacademy
    Music:
    Axol x Alex Skrindo - You [NCS Release]
    • Axol x Alex Skrindo - ...

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

  • @johnrichard5486
    @johnrichard5486 4 года назад +887

    You have saved the lives of many CS students.... thank you for all your videos ♥️

    • @xinhaizou9240
      @xinhaizou9240 3 года назад +11

      1 life being saved +1

    • @harlemeugene3786
      @harlemeugene3786 3 года назад +5

      i know im asking randomly but does anybody know a method to get back into an instagram account?
      I was stupid lost the password. I would appreciate any assistance you can give me.

    • @xinhaizou9240
      @xinhaizou9240 3 года назад +2

      @@harlemeugene3786 Sorry to hear that. But I think Google may give you more reasonable answers. :(

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

      @@harlemeugene3786 retrieve from Google account associated to your Instagram

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

      @@xinhaizou9240 he is boosting confidence of this content creator with his positive view
      Why u chinese came every where and spread negativity 😕

  • @samarthdixitt
    @samarthdixitt 2 года назад +102

    In 10 minutes now i know a full 10 mark question, thank you so much for such precise and crisp knowledge! tomorrow is my exam

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

      but marks to bhai 6 hi dega , khundas nikalte h professor yt methods s

    • @samarthdixitt
      @samarthdixitt Год назад +8

      @@saurabhkuntal3013 pass hogya Lekin wahi kaafi hai 🤝

    • @afsalts5872
      @afsalts5872 11 месяцев назад

      ​@@samarthdixittu replied after 1 year.😮 How did your studies go

    • @samarthdixitt
      @samarthdixitt 11 месяцев назад

      @@afsalts5872 passed all of my exams

  • @mousaabdelnabyahmed878
    @mousaabdelnabyahmed878 4 года назад +142

    let me say that"You are a great man"

  • @bowenzhang2259
    @bowenzhang2259 2 года назад +7

    U are truly a lifesaver!!!!!!!!! I spent 2 hours reviewing my professor's lecture slides and still couldn't figure out the idea. And now, I completely understand everything within 15 mins watching your video. Thanks so much. Love from China.

  • @swedishguyonyoutube4684
    @swedishguyonyoutube4684 2 года назад +20

    Incredibly clear and pedagogical approach to teaching. A lot of professors would do well to take a page from your book.

  • @lockyer8315
    @lockyer8315 Год назад +27

    For those having confusion in 3 equivalence, both B and C belongs to different sets but with same transition(0 or 1) they belong to same set. Hence A and C are kept in one set.

    • @rameezsiddiqui6710
      @rameezsiddiqui6710 11 месяцев назад +3

      bhai thoda detail me smjha do smjh nhi aaya'

    • @Aditya-wy4ci
      @Aditya-wy4ci 8 месяцев назад +6

      But the criteria was that the transition satate should belong to the set?
      B was not the part of the set in 2 equivalence?

    • @aryangupta4878
      @aryangupta4878 3 месяца назад +1

      @@Aditya-wy4ci I think that maybe the next states of both A and C should belong to the same set.

  • @SheetalSharma-eq9gh
    @SheetalSharma-eq9gh 3 года назад +26

    Thanku so much sir💯 .. I can't believe I got the concept so easily , as before 15 minutes , I was striving to do a question in my assignment ! and now after seeing this , assignment seems like a 5 min task .

  • @yashmalvade5961
    @yashmalvade5961 Год назад +8

    You have saved the lives of many CS students.... thank you for all your videos🥰😍🤩😘

  • @estherblaze
    @estherblaze Год назад +10

    You are such a wonderful teacher!! Two weeks worth of confusion solved in 30 mins!!

  • @zerobit778
    @zerobit778 3 года назад +6

    For those who have problem with 3 equivalence. Neso means that for the same input, the output should be stay in the same set. That does not mean both output for a state should stay in one set!!!!
    You would be more clear to his logic in next video.

  • @sakshamchhatkuli271
    @sakshamchhatkuli271 8 месяцев назад +4

    We start with 0-equivalence. Basically create 2 subsets, one with final states and the other with non-final states.
    Now within each subset, try to find if constituent states are 1 equivalent. The way to do that is to pick two states at a time. If the two states transition to the same 0-equivalence subset on each input, then they are 1-equivalent.
    If A,B and B,C are 1-equivalent, then A,C are also 1-equivalent.
    If A,B are not 1-equivalent and B,C are, then A,C cannot be 1-equivalent
    Repeat this process recursively till the output of n-equivalent and (n-1)-equivalent is the same
    From that point, the subsets won’t change
    All states within the same subset are equivalent

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

    I dont know how to appreciate you for the great work..thank you aloot words cant even express the thanks i have

  • @leonelp9593
    @leonelp9593 5 лет назад +14

    Thanks so much man
    Greetings from Argentina

  • @jatinthakwani5370
    @jatinthakwani5370 4 года назад +9

    I don't know how to thank you.
    God bless you!

  • @kaywilfert8297
    @kaywilfert8297 2 года назад +2

    I tried and failed so many times with my teachers strategy. My teacher is very knowledgable and competent but I seem to be incompatible with his teaching style.
    This however I got on the first try.
    Thank you very much

  • @nagaomkar
    @nagaomkar 6 лет назад +6

    NESO academy....You are the best...hoping for more videos of computer science core subjects...it will surely be a great gift for us...it will also bring u a LOT OF MONEY(as views and subscribers increase)& its gonna help the students a lot

  • @dkd0m23
    @dkd0m23 5 лет назад +25

    Hey thank you for the explanation, helped me alot :)

  • @warrior100girl
    @warrior100girl 7 лет назад +56

    always better than my own professor

  • @루이스-b9w
    @루이스-b9w 5 лет назад +14

    you are truly saving my compiler course exam in my uni sir.. 2 days left till exam

  • @Sirisha177
    @Sirisha177 10 месяцев назад +2

    I thought it's so tough.. but after seeing your vdo I felt it's so easy.. thank you sir.. 😊

  • @bongdude752
    @bongdude752 7 лет назад +6

    one of the best tutorial video for state minimization. thank you.

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

    What a remarkably simple and insightful methodology. Many thanks!

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

    Thank you bro...very helpfull in last minutes of exams🙏well explained💯❣️

  • @dengan699
    @dengan699 4 года назад +9

    Very clear, thanks man, I was literally reading the description for a week without grasping it, it's so confusing when written in plain English

  • @KKukreja
    @KKukreja 4 года назад +7

    My summary
    We start with 0-equivalence. Basically create 2 subsets, one with final states and the other with non-final states.
    Now within each subset, try to find if constituent states are 1 equivalent. The way to do that is to pick two states at a time. If the two states transition to the same 0-equivalence subset on each input, then they are 1-equivalent.
    If A,B and B,C are 1-equivalent, then A,C are also 1-equivalent.
    If A,B are not 1-equivalent and B,C are, then A,C cannot be 1-equivalent
    Repeat this process recursively till the output of n-equivalent and (n-1)-equivalent is the same
    From that point, the subsets won’t change
    All states within the same subset are equivalent.

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

      it seems like if they transition to the same exact state, then it doesn't matter if they are in the same subset or not. I feel like that wasn't explained clearly in the video, but that seems to be how he did it

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

      two states would be equivalent if they transition to states from the same set of states from precedent equivalence or transition to the same states for each input.
      in case of 1,2 equivalence the transition goes to the precedent subset
      for third equivalence we have for input 0: A->B, C->B and for input 1 A->C, C->C

  • @vijaykummari6684
    @vijaykummari6684 3 года назад +15

    I think In equivalence 3- A and C doesn't go to same set as in input a B belongs to another set

  • @dhruvdornal803
    @dhruvdornal803 10 месяцев назад +2

    at 10:15 A and C on getting input 0 goes to B which is not of the same set so how are the equivalent ?

  • @tanishqarora6655
    @tanishqarora6655 4 года назад +1

    Super easy explanation super easy to understand
    Loads of thanks to NESO Academy

  • @thegymrat1791
    @thegymrat1791 2 года назад +2

    Thank you so much sir, you literally saved my life!

  • @gsainitish1012
    @gsainitish1012 3 года назад +2

    Thank u so much❤️!! u just helped me to gain half of the marks in my internal exams

  • @Karansingh-gh4oy
    @Karansingh-gh4oy 7 лет назад +10

    thankyou very much reallly needed good work sir.... n please make vedios for Microprocessor

  • @ItachiUchiha-ub2iu
    @ItachiUchiha-ub2iu 5 лет назад +8

    Your videos are exam saver !

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

    I usually don't comment on any videos but I must have to say that you are a legend🙌

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

    Thank so much sir, your explaination is easily understable and simple 🤝🤝

  • @امینجمالی-خ9ص
    @امینجمالی-خ9ص Год назад

    thank youuuuuuu.
    great explanation I didn't get the algorithm in the text book but your video clarifies everything.

  • @alessandromorelli5866
    @alessandromorelli5866 5 лет назад +3

    So, what I get is that for n-equivalence just check, if they go to the same states with the same inputs and have the same type of being final or not, then they go together, that's it: both A and C can be joined because of the outputs, however E can't because it's a final state, if there was a F state that had the same outputs and was also final it could be joined with E, but not with A and C.
    Hope i was clear.

  • @Mr19242
    @Mr19242 4 года назад +8

    Sir firstly thanks for your videos
    here I want to tell you that you have missed concept of unreachable states as you directly applied checking state equivalence and in some questions if we dont remove unreachable states then our final state have that extra unreachable stat e and thus it will not be minimized(correct).
    Although it is also advised to merge all dead states into one before applying this video's method but is optional as applying the method shown in this video will automatically do that.

  • @ramankumar41
    @ramankumar41 3 года назад +1

    such a wonderful explanation...Very Helpful !!!! Thanks Man

  • @simransinghi4342
    @simransinghi4342 4 года назад +7

    Just love your videos😄..saved me lol!😂

  • @FUN_STATION_SK
    @FUN_STATION_SK 10 месяцев назад +1

    At 10:4 3rd equilence {A,C} belongs to different sets ..how can be both equilence

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

    obsessed with your videos sir🤩so knowledgeable from btech B section

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

    thank you for all your content, it has helped me go through my most difficult courses.

  • @piyalimondal3006
    @piyalimondal3006 6 месяцев назад

    Thank you Sir 🙏🏻🙏🏻...
    It's really very well explained Video😊 ...
    Greetings from West Bengal

  • @sumanthsajjan5784
    @sumanthsajjan5784 2 года назад +2

    i see a man of culture in you

  • @PomegranateAmazing79
    @PomegranateAmazing79 7 лет назад +92

    how A and C are 3 equivalents?
    because output of A and C have B which is in a different set in 2ND equivalence.

    • @xendu-d9v
      @xendu-d9v 7 лет назад +17

      A and C go to same state B(taking 0) and C(taking 1)

    • @saisriramgovardhanam302
      @saisriramgovardhanam302 7 лет назад +93

      Siddharth Y if they goes to different states then u check whether they r in same set ,if they r in same state then no worries!

    • @PomegranateAmazing79
      @PomegranateAmazing79 7 лет назад +6

      got it. thanks

    • @naveenksingh8485
      @naveenksingh8485 6 лет назад +4

      Zabardast hai

    • @ChristianBurnsShafer
      @ChristianBurnsShafer 6 лет назад +5

      B is not 2 equivalent because it maps to a different set than A and C for input 1 (A and C map to {A,B,C} and B maps to {D}). A and C are three equivalent because they map to the same set regardless of the input ({B} if 0 and {A,C} if 1). Furthermore, they are n equivalent for integers >= 0 as they will always map to the same sets respectively.

  • @suryak9913
    @suryak9913 6 лет назад +2

    Tqsm sir... For making me understand. Good explanation

  • @akashjain884
    @akashjain884 3 месяца назад

    thank you so much sir for great learning through the channel today i have an exam and i a clearing with the exam topic

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

    This helped me a lottttt I can't tell how grateful I am

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

    Thank you! Very clear

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

    Why A and C are 3 equivalences ? When 0, A and C are going to B and B. But when you look at the 2 equivalences list, it is {A,C} {B} {D} {E}. B is not in the list. Are we looking for just A and C are going to the same set ?

  • @anwarkedir4507
    @anwarkedir4507 5 лет назад +2

    Thanks Liked it all
    from Ethiopia

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

    Good explanation sir

  • @alokraj3524
    @alokraj3524 2 года назад +2

    How, 3 equivalence of {A, C} is {A, C}. Please Explain.

  • @christinekasangili6846
    @christinekasangili6846 3 года назад +1

    Thank you so much for teaching us

  • @Tbm4545
    @Tbm4545 Год назад +4

    All went over my head

  • @Work-uv8gn
    @Work-uv8gn 7 месяцев назад

    Thank you friend for making this so simple

  • @hritiknagpure
    @hritiknagpure 3 года назад +1

    Thank you sir for explaining very easy 🙏

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

    Thank you sir👍

  • @ryadhcherifi7897
    @ryadhcherifi7897 3 года назад +1

    Thnx, great and simple explanation.

  • @apporvaarya
    @apporvaarya 4 года назад +1

    wow, you explained in a mind-blowing manner :)

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

    Very Helpful this Video for CSE students

  • @KevinGarcia-ws1kt
    @KevinGarcia-ws1kt Год назад

    Thank you everything was so well explained.

  • @EM-gs1ou
    @EM-gs1ou Год назад

    OMG you saved me!!!!!!! This is actually fun now too

  • @GagandeepSingh-me4qt
    @GagandeepSingh-me4qt 4 месяца назад

    Very good explanation

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

    Simply u r better than my college teacher tysm

  • @bhawanishankarsharma6654
    @bhawanishankarsharma6654 6 лет назад +1

    Nicely explained.... Thank you sir

  • @Gaurav-gn2xq
    @Gaurav-gn2xq 3 года назад

    Thank you so mUch for such awesome explanation .

  • @praveen.sharma
    @praveen.sharma 6 лет назад +3

    Brilliant ... Everything explained to the point !

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

    Congratulations on 10 lakh subscribers 🥳

  • @user-ow6mm9tm4v
    @user-ow6mm9tm4v 4 месяца назад

    amazing teaching

  • @creativenature3699
    @creativenature3699 6 лет назад +2

    Better than my lecturer ✌️

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

    That's distinctively lucid,just because of your exemplary dint.
    Thank you

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

      stop trying to sound smart, it makes you look like a moron

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

    Thanks you so much for this explanation

  • @shribalajitvs2841
    @shribalajitvs2841 6 месяцев назад +1

    sir i think you did a mistake in 3 equivalaence where in (A,C) when input is 0 then they are going for B and as previous equivalance they must follow the row and in the previous row their is only (A,C) which means A will be seperate and C also will be seperate. Am i wrong?, If i am wrong then correct me.

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

    Thanks a lot!

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

    I have a doubt that, let take if A and B are going to a same state say (non final state)on getting input 0
    next, A and B are going to a same state again but this time (final state) on getting input 1 then could it be equivalent or not
    please help me.. Hope it reach to NESO ACADEMY INSTRUCTOR 😇

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

      reach to NESO ACADEMY INSTRUCTOR

  • @karnatisaimanikanta6166
    @karnatisaimanikanta6166 3 года назад +1

    If u observe the transition diagram a, c, and e also same (since e also producing output same as that of a and c)?

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

    thanks sir appreciate the work

  • @saptarshiroy3943
    @saptarshiroy3943 2 года назад +8

    How come A and C are 3 equivalent to each other? On comparing A and C, A and C on getting an input 0 goes to B whereas on getting input 1 goes to C. So how come they are equivalent if they are not on the same set?

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

      Correct

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

      ​@@ujjwalbhardwaj1519no it's not correct

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

      The output that A gets on 0 may be in a different set than the output A gets on 1, same goes with C
      However, what we are checking is for 0, are the outputs of A and C in the same set, and for 1, are the outputs of A and C in the same set
      On input 0, A and C go to B, which is the same set as each other
      On input 1, A and C go to C, which is also the same set as each other
      For 0 and 1, the set of the output state doesn't have to be the same

    • @user-jw9uo6vs8v
      @user-jw9uo6vs8v Год назад

      First condition is to check that , they goes for same state or not ,

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

    You save my compiler homework!

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

    savior of the backbenchers !!

  • @user-cm6wn5ec1y
    @user-cm6wn5ec1y 6 месяцев назад

    Thank you Neso Academy😘

  • @29feb65
    @29feb65 11 месяцев назад

    Thanks sir love you 😊❣️

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

    Nice explanation tqu sir

  • @byyucesoy
    @byyucesoy 5 месяцев назад

    Since A and C have the same output (B, C) for 0 and 1, considering both are non-final states, it is guaranteed that A and C could be combined to minimize the DFA right?

  • @sohammukherjee8156
    @sohammukherjee8156 5 лет назад +1

    In 2 equivalence b is in different state than AC and in the 3 rd equivalence a and c are going to B which is not in the same set anymore so how this became a 3 equivalence?

  • @ai.201
    @ai.201 4 года назад +1

    Simple and easy.

  • @azshalen
    @azshalen 5 лет назад +4

    He says, at 1 Eq that D is separated because of the output of 1 being different between, let's say A and D, but B is the same, yet he says that B remains in the group.

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

      At first, D is in the group, so B is accepted.

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

    you are a genius

  • @aditinamdas8004
    @aditinamdas8004 11 месяцев назад

    Nice explanation 😊

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

    Thanks a lot 🙏,tmr I have my internals

  • @auworkzzz8870
    @auworkzzz8870 11 месяцев назад

    thank you so much sir

  • @rakshitadungdung5060
    @rakshitadungdung5060 6 лет назад

    Quality education = Neso Academy

  • @shayanfar6521
    @shayanfar6521 5 лет назад

    Thanks a lot. It really helped me. I appreciate that ♥️♥️♥️

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

    Great explanation!

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

    Sir .. in 3 equivalence how a and c are in 3 equivalence since a and c has comman as b so how they become same set

  • @ArpitDhamija
    @ArpitDhamija 4 года назад +1

    neso is back

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

    Thanqq so much sir❤️

  • @adinarayanam9903
    @adinarayanam9903 3 года назад +1

    Excellent ⭐️⭐️

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

    Thank you so much for the help