Skip to main content

2015 | OriginalPaper | Buchkapitel

Prefix and Right-Partial Derivative Automata

verfasst von : Eva Maia, Nelma Moreira, Rogério Reis

Erschienen in: Evolving Computability

Verlag: Springer International Publishing

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

search-config
loading …

Abstract

Recently, Yamamoto presented a new method for the conversion from regular expressions (REs) to non-deterministic finite automata (NFA) based on the Thompson \(\varepsilon \)-NFA (\(\mathcal {A}_\mathsf {T}\)). The \(\mathcal {A}_\mathsf {T}\) automaton has two quotients discussed: the suffix automaton \(\mathcal {A}_\mathsf {suf}\) and the prefix automaton, \(\mathcal {A}_\mathsf {pre}\). Eliminating \(\varepsilon \)-transitions in \(\mathcal {A}_\mathsf {T}\), the Glushkov automaton (\(\mathcal {A}_{\mathsf {pos}}\)) is obtained. Thus, it is easy to see that \(\mathcal {A}_\mathsf {suf}\) and the partial derivative automaton (\(\mathcal {A}_\mathsf {pd})\) are the same. In this paper, we characterise the \(\mathcal {A}_\mathsf {pre}\) automaton as a solution of a system of left RE equations and express it as a quotient of \(\mathcal {A}_{\mathsf {pos}}\) by a specific left-invariant equivalence relation. We define and characterise the right-partial derivative automaton (\(\overleftarrow{\mathcal {A}}_\mathsf {pd}\)). Finally, we study the average size of all these constructions both experimentally and from an analytic combinatorics point of view.

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!

Literatur
1.
Zurück zum Zitat Antimirov, V.M.: Partial derivatives of regular expressions and finite automaton constructions. Theor. Comput. Sci. 155(2), 291–319 (1996)MATHMathSciNetCrossRef Antimirov, V.M.: Partial derivatives of regular expressions and finite automaton constructions. Theor. Comput. Sci. 155(2), 291–319 (1996)MATHMathSciNetCrossRef
2.
Zurück zum Zitat Broda, S., Machiavelo, A., Moreira, N., Reis, R.: On the average size of Glushkov and partial derivative automata. Int. J. Found. Comput. Sci. 23(5), 969–984 (2012)MATHMathSciNetCrossRef Broda, S., Machiavelo, A., Moreira, N., Reis, R.: On the average size of Glushkov and partial derivative automata. Int. J. Found. Comput. Sci. 23(5), 969–984 (2012)MATHMathSciNetCrossRef
3.
Zurück zum Zitat Broda, S., Machiavelo, A., Moreira, N., Reis, R.: On the average state complexity of partial derivative automata. Int. J. Found. Comput. Sci. 22(7), 1593–1606 (2011)MATHMathSciNetCrossRef Broda, S., Machiavelo, A., Moreira, N., Reis, R.: On the average state complexity of partial derivative automata. Int. J. Found. Comput. Sci. 22(7), 1593–1606 (2011)MATHMathSciNetCrossRef
4.
Zurück zum Zitat Champarnaud, J.M., Dubernard, J.P., Jeanne, H., Mignot, L.: Two-sided derivatives for regular expressions and for hairpin expressions. In: Dediu, A.H., Martín-Vide, C., Truthe, B. (eds.) LATA 2013. LNCS, vol. 7810, pp. 202–213. Springer, Heidelberg (2013) CrossRef Champarnaud, J.M., Dubernard, J.P., Jeanne, H., Mignot, L.: Two-sided derivatives for regular expressions and for hairpin expressions. In: Dediu, A.H., Martín-Vide, C., Truthe, B. (eds.) LATA 2013. LNCS, vol. 7810, pp. 202–213. Springer, Heidelberg (2013) CrossRef
5.
Zurück zum Zitat Champarnaud, J.M., Ziadi, D.: From Mirkin’s prebases to Antimirov’s word partial derivatives. Fundam. Inform. 45(3), 195–205 (2001)MATHMathSciNet Champarnaud, J.M., Ziadi, D.: From Mirkin’s prebases to Antimirov’s word partial derivatives. Fundam. Inform. 45(3), 195–205 (2001)MATHMathSciNet
6.
Zurück zum Zitat Champarnaud, J.M., Ziadi, D.: Canonical derivatives, partial derivatives and finite automaton constructions. Theor. Comput. Sci. 289(1), 137–163 (2002)MATHMathSciNetCrossRef Champarnaud, J.M., Ziadi, D.: Canonical derivatives, partial derivatives and finite automaton constructions. Theor. Comput. Sci. 289(1), 137–163 (2002)MATHMathSciNetCrossRef
7.
Zurück zum Zitat Flajolet, P., Sedgewick, R.: Analytic Combinatorics. CUP, Cambridge (2008) Flajolet, P., Sedgewick, R.: Analytic Combinatorics. CUP, Cambridge (2008)
8.
Zurück zum Zitat Giammarresi, D., Ponty, J.L., Wood, D.: The Glushkov and Thompson constructions: a synthesis (1998) (unpublished manuscript) Giammarresi, D., Ponty, J.L., Wood, D.: The Glushkov and Thompson constructions: a synthesis (1998) (unpublished manuscript)
9.
Zurück zum Zitat Glushkov, V.M.: The abstract theory of automata. Russ. Math. Surv. 16(5), 1–53 (1961)CrossRef Glushkov, V.M.: The abstract theory of automata. Russ. Math. Surv. 16(5), 1–53 (1961)CrossRef
11.
Zurück zum Zitat Ko, S., Han, Y.: Left is better than right for reducing nondeterminism of NFAs. In: Holzer, M., Kutrib, M. (eds.) CIAA 2014. LNCS, vol. 8587, pp. 238–251. Springer, Heidelberg (2014) Ko, S., Han, Y.: Left is better than right for reducing nondeterminism of NFAs. In: Holzer, M., Kutrib, M. (eds.) CIAA 2014. LNCS, vol. 8587, pp. 238–251. Springer, Heidelberg (2014)
12.
Zurück zum Zitat Maia, E., Moreira, N., Reis, R.: Partial derivative and position bisimilarity automata. In: Holzer, M., Kutrib, M. (eds.) CIAA 2014. LNCS, vol. 8587, pp. 264–277. Springer, Heidelberg (2014) Maia, E., Moreira, N., Reis, R.: Partial derivative and position bisimilarity automata. In: Holzer, M., Kutrib, M. (eds.) CIAA 2014. LNCS, vol. 8587, pp. 264–277. Springer, Heidelberg (2014)
13.
Zurück zum Zitat Mirkin, B.: An algorithm for constructing a base in a language of regular expressions. Eng. Cybern. 5, 110–116 (1966) Mirkin, B.: An algorithm for constructing a base in a language of regular expressions. Eng. Cybern. 5, 110–116 (1966)
14.
Zurück zum Zitat Nicaud, C.: On the average size of Glushkov’s automata. In: Dediu, A.H., Ionescu, A.M., Martín-Vide, C. (eds.) LATA 2009. LNCS, vol. 5457, pp. 626–637. Springer, Heidelberg (2009) CrossRef Nicaud, C.: On the average size of Glushkov’s automata. In: Dediu, A.H., Ionescu, A.M., Martín-Vide, C. (eds.) LATA 2009. LNCS, vol. 5457, pp. 626–637. Springer, Heidelberg (2009) CrossRef
15.
Zurück zum Zitat Thompson, K.: Regular expression search algorithm. Com. ACM 11(6), 410–422 (1968)CrossRef Thompson, K.: Regular expression search algorithm. Com. ACM 11(6), 410–422 (1968)CrossRef
16.
Zurück zum Zitat Yamamoto, H.: A new finite automaton construction for regular expressions. In: Bensch, S., Freund, R., Otto, F. (eds.) NCMA, pp. 249–264. Österreichische Computer Gesellschaft, Kassel (2014). books@ocg.at Yamamoto, H.: A new finite automaton construction for regular expressions. In: Bensch, S., Freund, R., Otto, F. (eds.) NCMA, pp. 249–264. Österreichische Computer Gesellschaft, Kassel (2014). books@ocg.at
Metadaten
Titel
Prefix and Right-Partial Derivative Automata
verfasst von
Eva Maia
Nelma Moreira
Rogério Reis
Copyright-Jahr
2015
DOI
https://doi.org/10.1007/978-3-319-20028-6_26