Vertiefung Theoretische Informatik Advanced Topics in Theoretical Computer Science
Viorica Sofronie-Stokkermans Universit¨ at Koblenz-Landau e-mail: sofronie@uni-koblenz.de Summersemester 2016
1
Vertiefung Theoretische Informatik Advanced Topics in Theoretical - - PowerPoint PPT Presentation
Vertiefung Theoretische Informatik Advanced Topics in Theoretical Computer Science Viorica Sofronie-Stokkermans Universit at Koblenz-Landau e-mail: sofronie@uni-koblenz.de Summersemester 2016 1 Acknowledgments In preparing this lecture
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
... b c a c a d ... ... b c a c a d ... State q Program b
39
... ... ... b c a c a d ... State q Program b b c a c a d
i
40
... c ... ... b c a c a d ... ... b c a c a d ... ... b c a c a d ... State q ... b c a c a d ... Read symbol ... b c a c a d ... ... b c a c a d ... ... b c a c a d ... ... b c a c a d ... Program Read state q, c c b
41
... ... ... ... ... ... ... ... ... ... Symbol lesen ... ... ... b c a a d ... ... b c a c a d ... ... b c a c a d ... State q Program q, c ... b c a c a d ... Symbol lesen − evaluate function (q,c) = (q’,c’,d) State q’ c c’ Write symbol b Determine new state
42
... ... ... ... ... ... ... ... ... ... Read ... ... ... ... ... ... ... b c a d ... State q Program q, c ... b c a a d ... symbol − evaluate function State q’ c c’ b Possibly move head Determine new state (q,c) = (q’,c’,d) left if d = L right if d = R not if d = N
43
... ... ... b c a ... State q Program b b c a c a d c’ a d Computed word TM accepts the input
a
44
... ... ... b c a ... State q Program b b c a c a d c’ a d TM rejects the input
r
45
... ... ... b c a ... State q Program b b c a c a d c’ a d The computation may not terminate q = q r q = q a
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83