Weighted Two-Dimensional Finite Automata

Two-dimensional finite automata (\(\textsf {2D}\text {-}\textsf {FA}\)) are a natural generalization of finite automata to two-dimension and used to recognize picture languages. In order to study quantitative aspects of computations of \(\textsf {2D}\text {-}\textsf {FA}\), we introduce weighted two-dimensional finite automata (\(\textsf {W2D}\text {-}\textsf {FA}\)), which can represent functions from some input alphabet into a semiring. In this work, we investigate some basic properties of these functions like upper bounds and closure properties. First, we prove that the value of such a function is bounded by \(2^{O(n^2)}\). Then, we will see that this upper bound is actually sharp, and a deterministic \(\textsf {W2D}\text {-}\textsf {FA}\) of a restricted type already can compute a function that reaches this bound. Finally, we study the closure properties of the classes of functions that are computed by \(\textsf {W2D}\text {-}\textsf {FA}\) of various types under some rational operations, e.g., sum, Hadamard product, vertical (horizontal) multiplication, and scalar multiplication.

[1]  Katsushi Inoue,et al.  Three-Way Two-Dimensional Deterministic Finite Automata with Rotated Inputs , 2005, IEICE Trans. Inf. Syst..

[2]  Martin Stommel,et al.  Church-Rosser Picture Languages and Their Applications in Picture Recognition , 2011, J. Autom. Lang. Comb..

[3]  Antonio Restivo,et al.  Two-Dimensional Languages , 1997, Handbook of Formal Languages.

[4]  Katsushi Inoue,et al.  A Note on Two-Dimensional Finite Automata , 1978, Inf. Process. Lett..

[5]  Yo-Sub Han,et al.  Template-Based Pattern Matching in Two-Dimensional Arrays , 2017, IWCIA.

[6]  Marcella Anselmo,et al.  New operations and regular expressions for two-dimensional languages over one-letter alphabet , 2005, Theor. Comput. Sci..

[7]  Katsushi Inoue,et al.  A survey of two-dimensional automata theory , 1991, Inf. Sci..

[8]  Antonio Restivo,et al.  Two-Dimensional Finite State Recognizability , 1996, Fundam. Informaticae.

[9]  Qichao Wang On the expressive power of weighted restarting automata , 2017, NCMA.

[10]  M. Blum,et al.  Automata on a 2-Dimensional Tape , 1967, SWAT.

[11]  Qichao Wang,et al.  Weighted restarting automata , 2018, Soft Comput..

[12]  Frantisek Mráz,et al.  Deterministic ordered restarting automata for picture languages , 2015, Acta Informatica.

[13]  Daniel Prusa Non-recursive trade-offs between two-dimensional automata and grammars , 2016, Theor. Comput. Sci..

[14]  Frantisek Mráz,et al.  Two-Dimensional Limited Context Restarting Automata , 2016, Fundam. Informaticae.

[15]  Katsushi Inoue,et al.  Three-way two-dimensional finite automata with rotated inputs , 1986, Inf. Sci..