-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstates.txt
More file actions
22 lines (19 loc) · 853 Bytes
/
Copy pathstates.txt
File metadata and controls
22 lines (19 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
The Turing Machine in example 1 has the following states:
State Represents
q0 the initial state
saw_# exactly one '#' character has been read
saw_## exactly two consecutive '#' characters have been read
qa the accept state
qr the reject state
The Turing Machine in example 2 has the following states:
State Represents
q0 the initial state
Check0 searching for '0'
Check1 searching for '1'
End ready to end on empty string
FindDelimeter0 searching for '#'
FindDelimeter1 searching for '#'
FindLeftmost returning to beginning of input string
FindNext begins loop again
qa the accept state
qr the reject state