U2-4 RE TO NFA.pptx - The Regular Language The regular language defined by an NFA is the set of input strings it accepts Example(ab*abb for the example

U2-4 RE TO NFA.pptx - The Regular Language The regular...

• Notes
• 12

This preview shows page 1 - 7 out of 12 pages.

Slide 1 The Regular Language The regular language defined by an NFA is the set of input strings it accepts. Example: (a b)*abb for the example NFA An NFA accepts an input string x if and only if there is some path with edges labeled with symbols from x in sequence from the start state to some accepting state in the transition graph A state transition from one state to another on the path is called a move.
Slide 2 Theorem The followings are equivalent Regular Expression NFA DFA Regular Language Regular Grammar
Slide 3 Convert Concept Regular Expression Nondeterministic Finite Automata Deterministic Finite Automata Minimization Deterministic Finite Automata
Slide 4 Construction of an NFA from a Regular Expression Use Thompson s Construction s | t N ( s ) N ( t ) s t N ( s ) N ( t ) s * N ( s ) a a ε
Slide 5 Example ( a | b )* a b b r 11 r 8 r 10 r 7 r 9 r 6 r 5 * r 4 a b b ( r 3 ) r 2 r 1 a b | r 3 = r 4
Slide 6 0 start a 1 10 2 b b a b 3 4 5 6 7 8 9 ( a | b )* a b b Example

You've reached the end of your free preview.

Want to read all 12 pages?

• Winter '17
• sathya raja shekaran

What students are saying

• 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.

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

• 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.

Dana University of Pennsylvania ‘17, Course Hero Intern

• 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.

Jill Tulane University ‘16, Course Hero Intern