On the average number of states of partial derivative automata

  • Authors:
  • Sabine Broda;António Machiavelo;Nelma Moreira;Rogério Reis

  • Affiliations:
  • DCC-FC & LIACC, Universidade do Porto, Porto, Portugal;CMUP, Universidade do Porto, Porto, Portugal;DCC-FC & LIACC, Universidade do Porto, Porto, Portugal;DCC-FC & LIACC, Universidade do Porto, Porto, Portugal

  • Venue:
  • DLT'10 Proceedings of the 14th international conference on Developments in language theory
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

The partial derivative automaton (Apd) is usually smaller than other non-deterministic finite automata constructed from a regular expression, and it can be seen as a quotient of the Glushkov automaton (Apos). By estimating the number of regular expressions that have ε as a partial derivative, we compute a lower bound of the average number of mergings of states in Apos and describe its asymptotic behaviour. This depends on the alphabet size, k, and its limit, as k goes to infinity, is 1/2. The lower bound corresponds exactly to consider the Apd automaton for the marked version of the regular expression, i.e. where all its letters are made different. Experimental results suggest that the average number of states of this automaton, and of the Apd automaton for the unmarked regular expression, are very close to each other.