ANTIMIROV AND MOSSES'S REWRITE SYSTEM REVISITED

被引:6
作者
Almeida, Marco [1 ]
Moreira, Nelma [1 ]
Reis, Rogerio [1 ]
机构
[1] Univ Porto, LIACC, Fac Ciencias, Dept Ciencia Comp, P-4169007 Oporto, Portugal
关键词
Regular languages; regular expressions; derivatives; partial derivatives; regular expression equivalence; minimal automata; rewriting systems; REGULAR EXPRESSIONS; DERIVATIVES; AUTOMATA; ALGEBRA; EVENTS;
D O I
10.1142/S0129054109006802
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Antimirov and Mosses proposed a rewrite system for deciding the equivalence of two (extended) regular expressions. They argued that this method could lead to a better average-case algorithm than those based on the comparison of the equivalent minimal deterministic finite automata. In this paper we present a functional approach to that method, prove its correctness, and give some experimental comparative results. Besides an improved functional version of Antimirov and Mosses's algorithm, we present an alternative one using partial derivatives. Our preliminary results lead to the conclusion that, indeed, these methods are feasible and, most of the time, faster than the classical methods.
引用
收藏
页码:669 / 684
页数:16
相关论文
共 22 条
  • [1] ALMEIDA M, 2007, DCC200707 DCCFC LIAC
  • [2] ALMEIDA M, 2009, TESTING REGULA UNPUB
  • [3] ALMEIDA M, 2007, DCC200703 DCCFC LIAC
  • [4] Enumeration and generation with a string automata representation
    Almeida, Marco
    Moreira, Nelma
    Reis, Rogerio
    [J]. THEORETICAL COMPUTER SCIENCE, 2007, 387 (02) : 93 - 102
  • [5] [Anonymous], 1986, SEMIRINGS AUTOMATA L
  • [6] Partial derivatives of regular expressions and finite automaton constructions
    Antimirov, V
    [J]. THEORETICAL COMPUTER SCIENCE, 1996, 155 (02) : 291 - 319
  • [7] Antimirov V. M., 1994, Developments in Language Theory. At the Crossroads of Mathematics, Computer Science and Biology, P195
  • [8] DERIVATIVES OF REGULAR EXPRESSIONS
    BRZOZOWSKI, JA
    [J]. JOURNAL OF THE ACM, 1964, 11 (04) : 481 - &
  • [9] Cormen T. H., 2003, INTRO ALGORITHMS
  • [10] Ellul K., 2005, J. Autom. Lang. Comb., V10, P407, DOI [DOI 10.25596/JALC-2005-407, 10.25596/jalc-2005-407]