Translation of binary regular expressions into nondeterministic ε-free automata with O(n log n) transitions

作者:

Highlights:

摘要

We show that every regular expression of size n over a fixed alphabet of s symbols can be converted into a nondeterministic ε-free finite-state automaton with O(snlogn) transitions (edges). In case of binary regular languages, this improves the previous known conversion from O(n(logn)2) transitions to O(nlogn). For the general case with no bound on cardinality of the input alphabet, our conversion yields a better constant factor in the O(n(logn)2) term. The number of states is bounded by O(n).

论文关键词:Formal languages,Descriptional complexity,Regular languages,Finite-state automata,Regular expressions

论文评审过程:Received 2 July 2001, Revised 5 March 2002, Available online 3 June 2003.

论文官网地址:https://doi.org/10.1016/S0022-0000(03)00036-9