{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

NtoFIntuition - Converting an NFA into an FSA Why the...

Info icon This preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
Why the algorithm works! Converting an NFA into an FSA
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Purpose This presentation attempts to give the reader some intuition as to why the algorithm which takes as input an NFA without λ -transitions and produces as output an equivalent FSA works correctly . We use the example from the previous presentation to illustrate this intuition.
Image of page 2
Why the Construction Works a b a,b b b a a 1 2 3 4 5 6 a b { 1 } {2} {3} {2} {} {} {3} {3,4} {3,5} {} {} {} {3,4} {3,4,6} {3,5} {3,5} {3,4} {3,5,6} { 3,4,6 } {3,4,6} {3,5} { 3,5,6 } {3,4} {3,5,6} NFA Equivalent FSA Input String babaa
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Key Idea a b a,b b b a a 1 2 3 4 5 6 a b { 1 } {2} {3} {2} {} {} {3} {3,4} {3,5} {} {} {} {3,4} {3,4,6} {3,5} {3,5} {3,4} {3,5,6} { 3,4,6 } {3,4,6} {3,5} { 3,5,6 } {3,4} {3,5,6} NFA Equivalent FSA We will illustrate the computation of both the NFA and the FSA on the input string babaa . In all configurations, the set of states the NFA is in will be identical to the state the FSA is in.
Image of page 4
Initial Configurations a b a,b b b a a 1 2 3 4 5 6 a b {1} {2} {3} {2} {} {} {3} {3,4} {3,5} {} {} {} {3,4} {3,4,6} {3,5} {3,5} {3,4} {3,5,6} {3,4,6} {3,4,6} {3,5} {3,5,6} {3,4} {3,5,6} ( 1 , babaa) ( {1} , babaa)
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Second Configurations a b a,b b b a a 1 2 3 4 5 6 a b {1} {2} {3} {2} {} {} {3} {3,4} {3,5} {} {} {} {3,4} {3,4,6} {3,5} {3,5} {3,4} {3,5,6} {3,4,6} {3,4,6} {3,5} {3,5,6} {3,4} {3,5,6} (1, babaa) ({1}, babaa) ( 3 , abaa) ( {3} , abaa)
Image of page 6
Third Configurations a b a,b b b a a 1 2 3 4 5 6 a b {1} {2} {3} {2} {} {} {3} {3,4} {3,5} {} {} {} {3,4} {3,4,6} {3,5} {3,5} {3,4} {3,5,6} {3,4,6} {3,4,6} {3,5}
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 8
Image of page 9

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern