𝔖 Bobbio Scriptorium
✦   LIBER   ✦

Translating Regular Expressions into Small ε-Free Nondeterministic Finite Automata

✍ Scribed by Juraj Hromkovič; Sebastian Seibert; Thomas Wilke


Publisher
Elsevier Science
Year
2001
Tongue
English
Weight
252 KB
Volume
62
Category
Article
ISSN
0022-0000

No coin nor oath required. For personal study only.

✦ Synopsis


We prove that every regular expression of size n can be converted into an equivalent nondeterministic =-free finite automaton (NFA) with O(n(log n) 2 ) transitions in time O(n 2 log n). The best previously known conversions result in NFAs of worst-case size 3(n 2 ). We complement our result by proving an almost matching lower bound. We exhibit a sequence of regular expressions of size O(n) and show the number of transitions required in equivalent NFAs is 0(n log n). This also proves there does not exist a linear-size conversion from regular expressions to NFAs.


📜 SIMILAR VOLUMES


Translation of binary regular expression
✍ Viliam Geffert 📂 Article 📅 2003 🏛 Elsevier Science 🌐 English ⚖ 281 KB

We show that every regular expression of size n over a fixed alphabet of s symbols can be converted into a nondeterministic e-free finite-state automaton with Oðsn log nÞ transitions (edges). In case of binary regular languages, this improves the previous known conversion from Oðnðlog nÞ 2 Þ transit