Deterministic One-Way Simulation of Two-Way Deterministic Finite Automata Over Small Alphabets

被引:0
|
作者
Geffert, Viliam [1 ]
Okhotin, Alexander [2 ]
机构
[1] Safarik Univ, Dept Comp Sci, Jesenna 5, Kosice 04154, Slovakia
[2] St Petersburg State Univ, Dept Math & Comp Sci, 14th Line VO,29, St Petersburg 199178, Russia
关键词
Finite automata; two-way automata; sweeping automata; state complexity; REDUCTION;
D O I
10.1142/S0129054124420024
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
It is shown that a two-way deterministic finite automaton (2DFA) with n states over an alphabet Sigma can be transformed to an equivalent one-way automaton (1DFA) with |Sigma| center dot phi(n) + 1 states, where phi(n) =max(k=1)(n-1)k(n-k+1) = n(n)- (nlnln n /ln n) +O( n/ln n). This reflects the fact that, by keeping the last processed symbol a in memory, the simulating 1DFA can remember one of k states in which the automaton moves by a to the right, and a function that maps n - k states moving to the left to k states moving to the right; cf. ca. n(n) functions in the classical construction. A close lower bound of phi(n) 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 phi(n).
引用
收藏
页数:19
相关论文
共 50 条