FROM C-CONTINUATIONS TO NEW QUADRATIC ALGORITHMS FOR AUTOMATON SYNTHESIS
Authors:
- 1 December 2001
- journal article
- research article
- Published by World Scientific Pub Co Pte Ltd in International Journal of Algebra and Computation
- Vol. 11 (06) , 707-735
Abstract
Two classical non-deterministic automata recognize the language denoted by a regular expression: the position automaton which deduces from the position sets defined by Glushkov and McNaughton–Yamada, and the equation automaton which can be computed via Mirkin's prebases or Antimirov's partial derivatives. Let |E| be the size of the expression and ‖E‖ be its alphabetic width, i.e. the number of symbol occurrences. The number of states in the equation automaton is less than or equal to the number of states in the position automaton, which is equal to ‖E‖+1. On the other hand, the worst-case time complexity of Antimirov algorithm is O(‖E‖3· |E|2), while it is only O(‖E‖·|E|) for the most efficient implementations yielding the position automaton (Brüggemann–Klein, Chang and Paige, Champarnaud et al.). We present an O(|E|2) space and time algorithm to compute the equation automaton. It is based on the notion of canonical derivative which makes it possible to efficiently handle sets of word derivatives. By the way, canonical derivatives also lead to a new O(|E|2) space and time algorithm to construct the position automaton.Keywords
This publication has 7 references indexed in Scilit:
- Partial derivatives of regular expressions and finite automaton constructionsTheoretical Computer Science, 1996
- Regular expressions into finite automataTheoretical Computer Science, 1993
- Three Partition Refinement AlgorithmsSIAM Journal on Computing, 1987
- From regular expressions to deterministic automataTheoretical Computer Science, 1986
- Derivatives of Regular ExpressionsJournal of the ACM, 1964
- THE ABSTRACT THEORY OF AUTOMATARussian Mathematical Surveys, 1961
- Regular Expressions and State Graphs for AutomataIEEE Transactions on Electronic Computers, 1960