.Open Session 4 -- Review of Automata . Context .Table Date .Item # .Item Study(2 pts) .Item Bring(5 pts) .Item Topic(5 pts) .Item Notes .Row Previous .Item 3 .Item Preface+Web1 .Item URL .Item History .Item Exam on math(50 pts) .Row Today .Item 4 .Item Chapter 2+Chapter 6 section 6.1 .Item Ex .Item Automata .Row Next .Item 5 .Item Chapter 8 sections 8.1, 8.2 .Item Ex .Item Turing Machines .Close.Table .Open Chapter 2 Finite Automata . 2.1 Informal Picture . Ch 2 pp 45 -- What exactly is a Product Automaton? Is it different from a DFA or is it just another way to say DFA? "Product Automata" is not another way to say DFA! A product automaton is the result of combining other automata. Like the product of 3 and 4 is 12... Indeed the number of states in the product automata is equal to the product of the number of states in the separate automata. For example the product of states{1,2,3} with {a,b,c,d} is {(1,a), (2,a), (2,a),(3,a), (1,b),....(3,d)} with 12 states. These are best diagrammed in a grid: .Table - a b c d .Row 1 1a 1b 1c 1d .Row 2 2a 2b 2c 2d .Row 3 3a 3b 3c 3d .Close.Table Whenever you see a problem that reads something like this .As_is Accept strings with an even number of 1'a and an odd number of zeroes. you should think about designing two automata: one for each part of the problem and then calculating the product. Exercise can you find the example later in the book and the exercise that needs a product automata? You can't take this kind of product of two automata unless they have the same input alphabet. The product of two automata (Q1,Sigma,delta1,q1,F1) and (Q2,Sigma,delta2, q1, F2) is constructed like this: .Set Take the Cartesian product of the state spaces: Q12 = Q1> (b,e). ((x,y),a) +> (delta1(x,a), delta2(y,a)). Initial state is the pair of initial states. (q1,q2) The final states are those pairs (x,y) such that both x and y are accepted in their own machine. F1> . Ch 2+6 -- deadline for automata questions Fewer points after this is received. . Ch 2 pp 55 -- Nondeterministic Finite Automata The author says that NFA are usually more succint and easier to design then DFA's. Why is that? A NFA can try out many options at once and keeps track of which options are open at any time. This can be done with a DFA but it has to explicitly do the book-keeping that is implicit in a NFA .Close .Close Session 4 -- Review of Automata . Next -- Turing Machines .See ./05.html