Professional Documents
Culture Documents
CSC-4890 Introduction To The Theory of Computation: Prof. Busch - LSU 1
CSC-4890 Introduction To The Theory of Computation: Prof. Busch - LSU 1
Course Goals
Provide computation Models
CPU
memory
CPU
output
Program memory
Example:
temporary memory
f ( x) x
input
CPU
Program memory compute compute output
xx
x x
2
Prof. Busch - LSU 6
f ( x) x
temporary memory
input
x2
CPU
Program memory compute compute output
xx
x x
2
Prof. Busch - LSU 7
temporary memory
z 2*2 4 f ( x) z * 2 8
f ( x) x
input
x2
CPU
Program memory compute compute output
xx
x x
2
Prof. Busch - LSU 8
temporary memory
z 2*2 4 f ( x) z * 2 8
f ( x) x
input
x2
CPU
Program memory compute compute
f ( x) 8
xx
output
x x
2
Prof. Busch - LSU 9
Automaton
temporary memory Automaton
input
CPU
output
Program memory
10
Automaton
temporary memory Automaton
input output
transition
state
12
Memory affects computational power: More flexible memory results to The solution of more computational problems
13
Finite Automaton
temporary memory
Finite Automaton
input output
Temp. memory
Pushdown Automaton
Stack Push, Pop
Pushdown Automaton
input output
Turing Machine
Temp. memory
Turing Machine
input output
Power of Automata
Simple problems More complex problems Hardest problems
Finite Automata
Pushdown Automata
Turing Machine
Less power
More power
Solve more computational problems
Prof. Busch - LSU 17
NP-complete problems:
(Non-deterministic Polynomial time problems)