Automata for regular expressions with shuffle

被引:13
|
作者
Broda, Sabine [1 ]
Machiavelo, Antonio
Moreira, Nelma
Reis, Rogerio
机构
[1] Univ Porto, Fac Ciencias, CMUP, Rua Campo Alegre, P-4169007 Porto, Portugal
关键词
Regular expressions; Shuffle operation; Partial derivatives; Finite automata; Position automata; Average case; Analytic combinatorics; PARTIAL DERIVATIVE AUTOMATA; ANALYTIC COMBINATORICS; FINITE AUTOMATA; AVERAGE SIZE; COMPLEXITY; CONSTRUCTIONS;
D O I
10.1016/j.ic.2017.08.013
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We generalize the partial derivative automaton and the position automaton to regular expressions with shuffle, and study their state complexity in the worst, as well as in the average case. The number of states of the partial derivative automaton (A(pd)) is, in the worst case, at most 2(m), where mis the number of letters in the expression. The asymptotic average is bounded by (4/3)(m). We define a position automaton (A(pos)) that is homogeneous, but in which several states can correspond to a same position, and we show that Apdis a quotient of A(pos). The number of states of the position automaton is at most 1 + m(2(m)-1), while the asymptotic average is no more than m(4/3)(m). (c) 2017 Published by Elsevier Inc.
引用
收藏
页码:162 / 173
页数:12
相关论文
共 50 条