RE to DFA by direct method (Compile Design) Example 2

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

КОМЕНТАРІ • 49

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

    Mam really awesome.... It very useful to me.. 👍👍..

  • @anushav2669
    @anushav2669 2 роки тому +4

    Ma'am, thank you so much. Today my teacher in college explained, I couldn't understand properly. Now I'm cleared. THANKs a lot. Subscribing your channel 🖤👍...!!!

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

    Follow pos to DFA generation is explained very easily. Thank you.

  • @059_riyaraj4
    @059_riyaraj4 2 роки тому +4

    The way you explained is fabulous 👌

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

    Actually its not dfa , because its have undefined states. Like if starting with 'a' on initial state its need to gonna be to halt state. So we need to convert nfa to dfa in last part. But i think its best video for creating syntax tree. Ty for sharing.

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

      Thank you.. It's algorithm from Compiler Design book, Author Names . Ahi,Ulman Sethi. For more information check this book.

  • @mdkamruzzamanleion9950
    @mdkamruzzamanleion9950 4 роки тому +2

    Great tutorial, lots of love from Bangladesh

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

    Teaching level is vv good

  • @dhruvmaniya7149
    @dhruvmaniya7149 Рік тому +1

    Honestly, I went through many solutions but it's best.

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

    Thank you ma'am!❤

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

      Thank you so much 🙏

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

    very good explanation

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

    Wow.Excellent.Thank you very much.❤️

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

    Convert the Regular Expression (a+b)*a(a+b) to DFA directly. What is syntax tree for this? Do we have to discard a coming in middle or not??

  • @aashishsapkota8058
    @aashishsapkota8058 3 роки тому +1

    Best concept

  • @adityashukla5102
    @adityashukla5102 4 роки тому +2

    thank u so much for this video

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

    Mam, i have a doubt, What about the b transition on a...if that is not defined we cant say that it is a DFA...can you please explain??

    • @rajashri86
      @rajashri86  4 роки тому

      If there are more transition on same symbol it's called NFA. Here not necessary on each symbol ther e will be transition its depend on RE. If any transition is missing then we can show that transition to dead state. But here I have not shown dead state, you can take dead state and show remaining all transition but after completing DFA.

    • @sivahari6748
      @sivahari6748 4 роки тому

      @@rajashri86 okay.. mam...thanks a lot...nice video

    • @rajashri86
      @rajashri86  4 роки тому

      Thank you so much.
      Also watch example1 for more understanding.
      You will get in playlist.

  • @kalgikansara7369
    @kalgikansara7369 4 роки тому +2

    Node 2,3,4 has same followpos so 2=3=4 then how to draw dfa

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

    Thanks mam 😊

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

    Mam in the beginning b.a you taken as from one concatenation (.) b and a
    But at the end again a is concatenated with b. Why you not taken from one concatenation for a and b.
    Can you please explain this mam.

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

      because in beginning we can't leave b lone s there is nothing to concatenate with it. I f we will do as you are telling it will become "b . . a . (a+b)^* . a . b" there will come two cocatenation symbol after b.

  • @mirzasakib2747
    @mirzasakib2747 4 роки тому +1

    thanks a lot ma'am

  • @AbhishekKumar-cv1dh
    @AbhishekKumar-cv1dh 3 роки тому

    At 18:20, wouldn't we get b transition as 3,4,5,7? Hence it will be a self loop on b transition from state {3,4,5,7}. Is this correct?

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

      yah i too noticed

    • @rajashri86
      @rajashri86  3 роки тому +1

      No, out of {3,4,5,7} only 4 node is having b transition so we will consider followpos of 4 only that is {3,4,5} not self loop {3,4,5,7}.

    • @rajashri86
      @rajashri86  3 роки тому +1

      @@saniyachaudhary2350 No, out of {3,4,5,7} only 4 node is having b transition so we will consider followpos of 4 only that is {3,4,5} not self loop {3,4,5,7}.

    • @saniyachaudhary2350
      @saniyachaudhary2350 3 роки тому +1

      @@rajashri86 oh yes.Thanks I got it.

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

    the result is not dfa since from A no transitions on a and from B no transition on b.
    Is there any problem in converting first to nfa and then to dfa

    • @rajashri86
      @rajashri86  Рік тому +1

      This is Direct method algorithm, this is the compiler method. For NFA,DFA pls watch Theory of Computation playlist on this channel.

  • @k.shwetharajuk.shwetharaju9555
    @k.shwetharajuk.shwetharaju9555 4 роки тому +2

    (a+b)*abb I need this conversation
    RE to DFA

    • @rajashri86
      @rajashri86  4 роки тому +1

      ua-cam.com/video/G8i_2CUHP_Y/v-deo.html
      Above example is solved in this video please do watch

    • @rajashri86
      @rajashri86  4 роки тому

      ua-cam.com/video/G8i_2CUHP_Y/v-deo.html
      Please chk above video for your example

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

    Convert the following regular expression over
    Σ= {a, b, c} to DFA using Direct method
    (a|b|ԑ)* | (a*.b*).c
    maam kindly help me to solve this kindly make a video plz