Professional Documents
Culture Documents
K Vipin
19/04/2016
Alan Turing
2
Turning Machines
Programme
def would_it_stop(program,input):
if something_terribly_clever :
return True
else:
return False
Halting Problem
if would_it_stop(program,input):
while True:
pass
else:
return
Non-deterministic Turing machine
• In a deterministic Turing machine, the set of rules
prescribes at most one action to be performed for any
given situation
• a non-deterministic Turing machine (NTM) may have a
set of rules that prescribes more than one action for a
given situation