Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Books
•John E. Hopcroft, Rajeev Motwani, Jeffrey D. Ullman, Introduction to
Automata Theory, Languages, and Computation
Other stuff
My own lecture notes!!!
CPU memory
temporary memory
input
CPU
output
Program memory
temporary memory
input
CPU
output
Program memory
compute xx
compute x x
2
Costas Busch - LSU 6
f ( x) x 3
temporary memory
input
x2
CPU
output
Program memory
compute xx
compute x x
2
Costas Busch - LSU 7
temporary memory f ( x) x 3
z 2*2 4
f ( x) z * 2 8
input
x2
CPU
output
Program memory
compute xx
compute x x
2
Costas Busch - LSU 8
temporary memory f ( x) x 3
z 2*2 4
f ( x) z * 2 8
input
x2
CPU
f ( x) 8
Program memory output
compute xx
compute x x
2
Costas Busch - LSU 9
Automaton
temporary memory
Automaton
input
CPU
output
Program memory
Automaton
input
output
transition
state
results to
The solution of more computational
problems
temporary memory
input
Finite
Automaton
output
Example: Elevators, Vending Machines,
Lexical Analyzers
(small computing power)
Costas Busch - LSU 14
Pushdown Automaton
Temp.
memory Stack Push, Pop
Pushdown input
Automaton
output
Temp.
memory Random Access Memory
input
Turing
Machine
output
Answer: NO
(there are unsolvable problems)
Costas Busch - LSU 18
Time Complexity of Computational Problems:
P problems:
(Polynomial time problems)
NP-complete problems:
(Non-deterministic Polynomial time problems)
Believed to take exponential
time to be solved