Abstract

It is shown that a two-way deterministic finite automaton (2DFA) with [Formula: see text] states over an alphabet [Formula: see text] can be transformed to an equivalent one-way automaton (1DFA) with [Formula: see text] states, where [Formula: see text]. This reflects the fact that, by keeping the last processed symbol [Formula: see text] in memory, the simulating 1DFA can remember one of [Formula: see text] states in which the automaton moves by [Formula: see text] to the right, and a function that maps [Formula: see text] states moving to the left to [Formula: see text] states moving to the right; cf. ca. [Formula: see text] functions in the classical construction. A close lower bound of [Formula: see text] states is established using a 2-symbol alphabet, with witness languages defined by direction-determinate 2DFA. The same lower bound is also achieved with witness languages defined by sweeping 2DFA, at the expense of using a 5-symbol alphabet. In addition, the complexity of transforming a sweeping or a direction-determinate 2DFA to a 1DFA is shown to be exactly [Formula: see text].

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.