480 likes | 634 Views
Erik Jonsson School of Engineering and Computer Science. CS 4384 – 0 01. Automata Theory. http://www.utdallas.edu/~pervin. Tues day : Sections 2.4 & 2.5 Look at Ullman’s Lectures 3 & 4. Thurs day 1-23-14. FEARLESS Engineering. www.utdallas.edu/~pervin.
E N D
Erik Jonsson School of Engineering and Computer Science CS 4384– 001 Automata Theory http://www.utdallas.edu/~pervin Tuesday: Sections 2.4 & 2.5 Look at Ullman’s Lectures 3 & 4 Thursday 1-23-14 FEARLESS Engineering www.utdallas.edu/~pervin
L(M) = the set of positive even length strings ending in the character a. answer
Nondeterministic Finite Automata (NDA) M&S Section 2.4
Find an NFA that accepts the set of binary strings beginning with 010 or ending with 110.
Comment: For every NFA there is an equivalent NFA that has only one initial state and only one accepting (final) state.
Construct a NFA that accepts the language: The set of binary strings that contain at least three occurrences of the substring 010.
Construct a NFA that accepts the language: (b) The set of binary strings that contain both substrings 010 and 101.
Theorem: If L = L(N) for a NFA N, then L = L(D) for a DFA D. Linz P.61
Example 2.4.2 M&S P. 37 Sipser, Ex. 1.14 on P. 51 and Sudkamp, Exercise 6.18 P.165
Example 2.4.3 M&S P. 38 Sipser, Ex. 1.15 on P. 52
Convert from NFA to DFA: Sudkamp Example 6.6.1 P. 152
Union • Concatenation • Kleene Star Regular Expressions