*** Welcome to piglix ***

Read-only Turing machine


A read-only Turing machine or Two-way deterministic finite-state automaton (2DFA) is class of models of computability that behave like a standard Turing machine and can move in both directions across input, except cannot write to its input tape. The machine in its bare form is equivalent to a Deterministic finite automaton in computational power, and therefore can only parse a regular language.

We define a standard Turing machine by the 9-tuple

where

So given initial state reading symbol , we have a transition defined by which replaces with , transitions to state , and moves the "read head" in direction (left or right) to read the next input. In our 2DFA read-only machine, however, always.


...
Wikipedia

...