Tight Bounds for Cut-Operations on Deterministic Finite Automata

被引:6
作者
Drewes, Frank [1 ]
Holzer, Markus [2 ]
Jakobi, Sebastian [2 ]
van der Merwe, Brink [3 ]
机构
[1] Umea Univ, Dept Comp Sci, Umea, Sweden
[2] Univ Giessen, Inst Informat, Arndtstr 2, D-35392 Giessen, Germany
[3] Univ Stellenbosch, Comp Sci Div, Dept Math Sci, Stellenbosch, South Africa
关键词
finite automata; cut and iterated cut operation; descriptional complexity;
D O I
10.3233/FI-2017-1577
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We investigate the state complexity of the cut and iterated cut operation for deterministic finite automata (DFAs), answering an open question stated in [M. BERGLUND, et al.: Cuts in regular expressions. In Proc. DLT, LNCS 7907, 2011]. These operations can be seen as an alternative to ordinary concatenation and Kleene star modelling leftmost maximal string matching. We show that the cut operation has a matching upper and lower bound of n states, if m = 1, and (n = 1) . m + n states, otherwise, on DFAs accepting the cut of two individual languages that are accepted by n- and m-state DFAs, respectively. In the unary case we obtain m a x (2n - 1; m + n - 2) states as a tight bound-notice that for m <= n the bound for unary DFAs only depends on the former automaton and not on the latter. For accepting the iterated cut of a language accepted by an n -state DFA we find a matching bound of 1 + (n + 1) . F (1; n + 2; n + 2; n + 1 | -1) states on DFAs, if n >= 4 and where F refers to the generalized hypergeometric function. This bound is in the order of magnitude circle minus ((n - 1) !). Finally, the bound drops to 2n - 1 for unary DFAs accepting the iterated cut of an n -state DFA, if n >= 3, and thus is similar to the bound for the cut operation on unary DFAs.
引用
收藏
页码:89 / 110
页数:22
相关论文
共 7 条
[1]  
Berglund M, 2011, LNCS, P70, DOI [10.1007/978-3-642-38771-58, DOI 10.1007/978-3-642-38771-58]
[2]   Analyzing Catastrophic Backtracking Behavior in Practical Regular Expression Matching [J].
Berglund, Martin ;
Drewes, Frank ;
van der Merwe, Brink .
ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2014, (151) :109-123
[3]  
Clocksin W. F., 1981, Programming in Prolog
[4]  
Graham Ronald L., 1994, Concrete Mathematics: A Foundation For Computer Science, V2nd
[5]  
HARRISON M, 1978, INTRO FORMAL LANGUAG
[6]  
Kirrage J., 2013, P 7 INT C NETW SYST, P135
[7]  
Piccard S., 1946, BASES GROUPE SYMETRI