Skip to main content

2011 | OriginalPaper | Buchkapitel

The Average Transition Complexity of Glushkov and Partial Derivative Automata

verfasst von : Sabine Broda, António Machiavelo, Nelma Moreira, Rogério Reis

Erschienen in: Developments in Language Theory

Verlag: Springer Berlin Heidelberg

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

In this paper, the relation between the Glushkov automaton (

$\mathcal{A}_{\mathrm{pos}}$

) and the partial derivative automaton (

$\mathcal{A}_{\mathrm{pd}}$

) of a given regular expression, in terms of transition complexity, is studied. The average transition complexity of

$\mathcal{A}_{\mathrm{pos}}$

was proved by Nicaud to be linear in the size of the corresponding expression. This result was obtained using an upper bound of the number of transitions of

$\mathcal{A}_{\mathrm{pos}}$

. Here we present a new quadratic construction of

$\mathcal{A}_{\mathrm{pos}}$

that leads to a more elegant and straightforward implementation, and that allows the exact counting of the number of transitions. Based on that, a better estimation of the average size is presented. Asymptotically, and as the alphabet size grows, the number of transitions per state is on average 2.

Broda

et al.

computed an upper bound for the ratio of the number of states of

$\mathcal{A}_{\mathrm{pd}}$

to the number of states of

$\mathcal{A}_{\mathrm{pos}}$

, which is about

$\frac{1}{2}$

for large alphabet sizes. Here we show how to obtain an upper bound for the number of transitions in

$\mathcal{A}_{\mathrm{pd}}$

, which we then use to get an average case approximation. Some experimental results are presented that illustrate the quality of our estimate.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Metadaten
Titel
The Average Transition Complexity of Glushkov and Partial Derivative Automata
verfasst von
Sabine Broda
António Machiavelo
Nelma Moreira
Rogério Reis
Copyright-Jahr
2011
Verlag
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/978-3-642-22321-1_9