Abstract
Small nondeterministic recognizers are very useful in practical applications based on regular expression searching. The follow automaton, recently introduced by Ilie and Yu, is such a small recognizer, since it is a quotient of the position automaton. The aim of this paper is to present an efficient computation of this quotient, based on specific properties of the \(\mathcal{ZPC}\) of the expression. The motivation is twofold. Since this structure is already a basic tool for computing the position automaton, Antimirov’s automaton and Hromkovic’s automaton, the design of an algorithm for computing the follow automaton via this structure makes it easier to compare all these small recognizers. Secondly such an algorithm provides a straightforward alternative to the rather sophisticated handling of ε-transitions used in the original algorithm.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Antimirov, V.: Partial derivatives of regular expressions and finite automaton constructions. Theoret. Comput. Sci. 155, 291–319 (1996)
Brüggemann-Klein, A.: Regular Expressions into Finite Automata, Theoret. Comput. Sci. 120, 197–213 (1993)
Champarnaud, J.-M.: Subset Construction Complexity for Homogeneous Automata, Position Automata and ZPC-Structures. Theoret. Comput. Sci. 267, 17–34 (2001)
Champarnaud, J.-M., Ziadi, D.: Computing the Equation Automaton of a Regular Expression in O(s2) Space and Time. In: Amir, A., Landau, G.M. (eds.) CPM 2001. LNCS, vol. 2089, pp. 157–168. Springer, Heidelberg (2001)
Champarnaud, J.-M., Ziadi, D.: From c-continuations to new quadratic algorithms for automaton synthesis. Intern. Journ. of Alg. and Comp. 11(6), 707–735 (2001)
Champarnaud, J.-M.: Evaluation of three implicit structures to implement nondeterministic automata from regular expressions. Intern. J. of Foundations of Comp. Sc. 13(1), 99–113 (2002)
Chang, C.-H., Paige, R.: From Regular Expressions to DFA’s Using Compressed NFA’s. Theoret. Comput. Sci. 178, 1–36 (1997)
Glushkov, V.M.: The Abstract Theory of Automata. Russian Math. Surveys 16, 1–53 (1961)
Hagenah, C., Muscholl, A.: Computing ε-free NFAs from regular expressions in O(n log2(n)) time. Theoret. Inform. Appl. 34(4), 257–277 (2000)
Hromkovic, J., Seibert, S., Wilke, T.: Translating regular expressions into small ε-free nondeterministic finite automata. J. Comput. System Sci. 62(4), 565–588 (2001)
Hopcroft, J.E., Ullman, J.D.: Introduction to Automata Theory, Languages and Computation. Addison-Wesley, Reading (1979)
Ilie, L., Yu, S.: Constructing NFAs by optimal use of positions in regular expressions. In: Apostolico, A., Takeda, M. (eds.) CPM 2002. LNCS, vol. 2373, pp. 279–288. Springer, Heidelberg (2002)
Ilie, L., Yu, S.: Algorithms for Computing Small NFAs. In: Diks, K., Rytter, W. (eds.) MFCS 2002. LNCS, vol. 2420, pp. 328–340. Springer, Heidelberg (2002)
McNaughton, R., Yamada, H.: Regular Expressions and State Graphs For Automata. IEEE Trans. on Electronic Computers 9(1), 39–47 (1960)
Ponty, J.-L., Ziadi, D., Champarnaud, J.-M.: A new Quadratic Algorithm to Convert a Regular Expression into an Automaton. In: Raymond, D.R., Yu, S., Wood, D. (eds.) WIA 1996. LNCS, vol. 1260, pp. 109–110. Springer, Heidelberg (1997)
Yu, S.: Regular languages. In: Rozenberg, G., Salomaa, A. (eds.) Handbook of Formal Languages, vol. I, pp. 41–110. Springer, Berlin (1997)
Ziadi, D., Ponty, J.-L., Champarnaud, J.-M.: Passage d’une expression rationnelle à un automate fini non-déterministe. Journées Montoises (1995); Bull. Belg. Math. Soc. 4, 177–203 (1997)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2005 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Champarnaud, JM., Nicart, F., Ziadi, D. (2005). Computing the Follow Automaton of an Expression. In: Domaratzki, M., Okhotin, A., Salomaa, K., Yu, S. (eds) Implementation and Application of Automata. CIAA 2004. Lecture Notes in Computer Science, vol 3317. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-30500-2_9
Download citation
DOI: https://doi.org/10.1007/978-3-540-30500-2_9
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-24318-2
Online ISBN: 978-3-540-30500-2
eBook Packages: Computer ScienceComputer Science (R0)