Hostname: page-component-848d4c4894-xfwgj Total loading time: 0 Render date: 2024-06-21T01:34:59.573Z Has data issue: false hasContentIssue false

Efficient weighted expressions conversion

Published online by Cambridge University Press:  06 September 2007

Faissal Ouardi
Affiliation:
L.I.T.I.S., University of Rouen, France; Faissal.Ouardi@univ-rouen.fr; Djelloul.Ziadi@univ-rouen.fr
Djelloul Ziadi
Affiliation:
L.I.T.I.S., University of Rouen, France; Faissal.Ouardi@univ-rouen.fr; Djelloul.Ziadi@univ-rouen.fr
Get access

Abstract

J. Hromkovic et al. have given an elegant method to convert a regular expression of size n into an ε-free nondeterministic finite automaton having O(n) states and O(nlog2(n)) transitions. This method has been implemented efficiently in O(nlog2(n)) time by C. Hagenah and A. Muscholl. In this paper we extend this method to weighted regular expressions and we show that it can be achieved in O(nlog2(n)) time.

Type
Research Article
Copyright
© EDP Sciences, 2007

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

References

Antimirov, V., Partial derivatives of regular expressions and finite automaton constructions. Theoret. Comput. Sci. 155 (1996) 291319. CrossRef
Brüggemann-Klein, A., Regular expressions into finite automata. Theoret. Comput. Sci. 120 (1993) 197213. CrossRef
J. Berstel and C. Reutenauer. Rational series and their languages. Springer-Verlag, Berlin (1988).
Caron, P. and Flouret, M., Glushkov construction for series: the non commutative case. Int. J. Comput. Math. 80 (2003) 457472. CrossRef
Caron, P. and Ziadi, D., Characterization of Glushkov automata. Theoret. Comput. Sci. 231 (2000) 7590. CrossRef
Champarnaud, J.-M. and Ziadi, D., Computing the equation automaton of regular expression in O(s2 ) space and time, in CPM 2001, Combinatorial Pattern Matching, edited by A. Amir and G.M. Landau. Lect. Notes Comput. Sci. 2089 (2001) 157168. CrossRef
Champarnaud, J.-M., Laugerotte, E., Ouardi, F. and Ziadi, D., From regular weighted expressions to finite automata. Int. J. Fond. Comput. Sci. 15 (2004) 687700. CrossRef
Glushkov, V.-M., The abstract theory of automata. Russian Math. Surveys 16 (1961) 153. CrossRef
Hagenah, C. and Muscholl, A., Computing ε-free NFA from regular expression in O(nlog2 (n)) time. RAIRO-Theor. Inf. Appl. 34 (2000) 257277. CrossRef
U. Hebisch and H.J. Weinert, Semirings: algebraic theory and applications in computer science. World Scientific, Singapore (1993).
Hromkovic, U., Seibert, J. and Wilke, T., Translating regular expressions into small ε-free nondeterministic finite automata. J. Comput. System Sci. 62 (2001) 565588. CrossRef
L. Ilie and S. Yu, Algorithms for computing small NFAs, in Proc 27th MFCS, Warszawa, 2002, edited by K. Diks and W. Rytter. Lect. Notes Comput. Sci. (2002) 328–340.
W. Kuich and J. Salomaa, Semirings, automata, languages. Springer-Verlag, Berlin (1986).
Lombardy, S. and Sakarovitch, J., Derivatives of regular expression with multiplicity, Proc. of MFCS 2002. Lect. Notes Comput. Sci. 2420 (2002) 47148. CrossRef
McNaughton, R.F. and Yamada, H., Regular expressions and state graphs for automata. IEEE T. Electron. Comput. 9 (1960) 3947. CrossRef
Schützenberger, M.P., On the definition of a family of automata. Inform. Control 6 (1961) 245270. CrossRef
D. Ziadi, Algorithmique parallèle et séquentielle des automates. Thesis, LIR report, Université de Rouen (1996).
D. Ziadi, Quelques aspects théoriques et algorithmiques des automates. Thesis, Université de Rouen (2002).
Ziadi, D., Ponty, J.-L. and Champarnaud, J.-M., Passage d'une expression rationnelle à un automate fini non-déterministe. Bull. Belg. Math. Soc. Simon Stevin 4 (1997) 177203.