Translating regular expressions into small ε-free nondeterministic finite automata

被引:57
作者
Hromkovic, J [1 ]
Seibert, S
Wilke, T
机构
[1] Rhein Westfal TH Aachen, Lehrstuhl Informat 1, D-52056 Aachen, Germany
[2] Univ Kiel, Inst Informat & Prakt Math, D-24098 Kiel, Germany
关键词
regular expressions; finite automata;
D O I
10.1006/jcss.2001.1748
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
We prove that every regular expression of size n can be converted into an equivalent nondeterministic epsilon -free finite automaton (NFA) with C(n log n(2) ) transitions in time C(n(2) log n). The best previously known conversions result in NFAs of worst-case size Theta (n(2)). We complement our result by proving an almost matching lower bound. We exhibit a sequence of regular expressions of size C(n) and show the number of transitions requited in equivalent NFAs is Omega (n log n). This also proves there does not exist a linear-size conversion From regular expressions to NFAs. (C) 2001 Academic Press.
引用
收藏
页码:565 / 588
页数:24
相关论文
共 49 条
[21]   Representations of regular ideals in finite automata [J].
Rystsov, I.K. .
Cybernetics and Systems Analysis, 2003, 39 (05) :668-675
[22]   COMPRESSED MEMBERSHIP PROBLEMS FOR REGULAR EXPRESSIONS AND HIERARCHICAL AUTOMATA [J].
Lohrey, Markus .
INTERNATIONAL JOURNAL OF FOUNDATIONS OF COMPUTER SCIENCE, 2010, 21 (05) :817-841
[23]   Parallel Algorithms for Constructing Fellow Automata of Regular Expressions [J].
Sun Yuqiang ;
Yang Ruimin ;
Gu Yuwan ;
You Jing .
FIRST INTERNATIONAL WORKSHOP ON DATABASE TECHNOLOGY AND APPLICATIONS, PROCEEDINGS, 2009, :57-+
[24]   Converting Nondeterministic Automata and Context-Free Grammars into Parikh Equivalent Deterministic Automata [J].
Lavado, Giovanna J. ;
Pighizzini, Giovanni ;
Seki, Shinnosuke .
DEVELOPMENTS IN LANGUAGE THEORY (DLT 2012), 2012, 7410 :284-295
[25]   VC-dimensions of nondeterministic finite automata for words of equal length [J].
Kjos-Hanssen, Bjorn ;
Felix, Clyde James ;
Kim, Sun Young ;
Lamb, Ethan ;
Takahashi, Davin .
ANNALS OF MATHEMATICS AND ARTIFICIAL INTELLIGENCE, 2022, 90 (01) :93-105
[26]   VC-dimensions of nondeterministic finite automata for words of equal length [J].
Bjørn Kjos-Hanssen ;
Clyde James Felix ;
Sun Young Kim ;
Ethan Lamb ;
Davin Takahashi .
Annals of Mathematics and Artificial Intelligence, 2022, 90 :93-105
[27]   Once more about the state-minimization of the nondeterministic finite automata [J].
B. F. Melnikov .
Korean journal of computational & applied mathematics, 2000, 7 (3) :655-662
[28]   SCANNING REGULAR LANGUAGES BY DUAL FINITE AUTOMATA [J].
WU, PC ;
WANG, FJ ;
YOUNG, KR .
SIGPLAN NOTICES, 1992, 27 (04) :12-16
[29]   Unambiguity and Fewness for Nonuniform Families of Polynomial-Size Nondeterministic Finite Automata [J].
Yamakami, Tomoyuki .
REACHABILITY PROBLEMS, RP 2022, 2022, 13608 :77-92
[30]   State Complexity of Union and Intersection for Two-Way Nondeterministic Finite Automata [J].
Kunc, Michal ;
Okhotin, Alexander .
FUNDAMENTA INFORMATICAE, 2011, 110 (1-4) :231-239