“Draw a Turing machine for unary increment: in q0, read 1, write 1, and move right; on blank B, write 1, stay, and enter accepting qa.”
그 이면의 의사결정을 읽어 보세요.
q0 preserves each unary mark while moving right.
B marks the end of the current number.
qa is reached after the new final 1 is written.
Use this machine to introduce the read/write/move notation of a Turing machine.
자주 묻는 질문
What does 1/1,R mean?
Read 1, write 1 back to the tape, then move the head one cell right.
Why does the machine write on B?
The first blank marks the end of the unary number, so writing 1 there appends one unit.
What does S mean?
S means stay; the tape head does not move after that transition.