Skip to main navigation Skip to search Skip to main content

From regular expressions to smaller NFAs

  • Pedro García
  • , Damián López
  • , José Ruiz
  • , Gloria I. Álvarez
  • Polytechnic University of Valencia

Research output: Contribution to journalArticlepeer-review

11 Scopus citations

Abstract

Several methods have been developed to construct λ-free automata that represent a regular expression. Among the most widely known are the position automaton (Glushkov), the partial derivatives automaton (Antimirov) and the follow automaton (Ilie and Yu). All these automata can be obtained with quadratic time complexity, thus, the comparison criterion is usually the size of the resulting automaton. The methods that obtain the smallest automata (although, for general expressions, they are not comparable), are the follow and the partial derivatives methods. In this paper, we propose another method to obtain a λ-free automaton from a regular expression. The number of states of the automata we obtain is bounded above by the size of both the partial derivatives automaton and of the follow automaton. Our algorithm also runs with the same time complexity of these methods.

Original languageEnglish
Pages (from-to)5802-5807
Number of pages6
JournalTheoretical Computer Science
Volume412
Issue number41
DOIs
StatePublished - 23 Sep 2011

Keywords

  • Finite automata
  • Position automata quotients
  • Regular expression

Fingerprint

Dive into the research topics of 'From regular expressions to smaller NFAs'. Together they form a unique fingerprint.

Cite this