Obtaining shorter regular expressions from finite-state automata

被引:23
作者
Han, Yo-Sub
Wood, Derick
机构
[1] Korea Inst Sci & Technol, Div Syst Technol, Seoul 130650, South Korea
[2] Hong Kong Univ Sci & Technol, Dept Comp Sci, Kowloon, Hong Kong, Peoples R China
关键词
regular languages; finite-state automata; state elimination; bridge states; vertical chopping; horizontal chopping;
D O I
10.1016/j.tcs.2006.09.025
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We consider the use of state elimination to construct shorter regular expressions from finite-state automata (FAs). Although state elimination is an intuitive method for computing regular expressions from FAs, the resulting regular expressions are often very long and complicated. We examine the minimization of FAs to obtain shorter expressions first. Then, we introduce vertical chopping based on bridge states and horizontal chopping based on the structural properties of given FAs. We prove that we should not eliminate bridge states until we eliminate all non-bridge states to obtain shorter regular expressions. In addition, we suggest heuristics for state elimination that leads to shorter regular expressions based on vertical chopping and horizontal chopping. (c) 2006 Elsevier B.V. All rights reserved.
引用
收藏
页码:110 / 120
页数:11
相关论文
共 20 条
[1]   The validation of SGML content models [J].
BruggemannKlein, A ;
Wood, D .
MATHEMATICAL AND COMPUTER MODELLING, 1997, 25 (04) :73-84
[2]  
Brzozowski Janusz A., 1963, IEEE Trans. Electron. Comput., V12, P67, DOI 10.1109/PGEC.1963.263416
[3]   Characterization of Glushkov automata [J].
Caron, P ;
Ziadi, D .
THEORETICAL COMPUTER SCIENCE, 2000, 233 (1-2) :75-90
[4]  
Cormen T. H., 2001, Introduction to Algorithms, V2nd
[5]  
Delgado M, 2005, LECT NOTES COMPUT SC, V3317, P312
[6]  
Eilenberg S., 1974, AUTOMATA LANGUAGES M, VA
[7]   Deterministic generalized automata [J].
Giammarresi, D ;
Montalbano, R .
THEORETICAL COMPUTER SCIENCE, 1999, 215 (1-2) :191-208
[8]   A characterization of Thompson digraphs [J].
Giammarresi, D ;
Ponty, JL ;
Wood, D ;
Ziadi, D .
DISCRETE APPLIED MATHEMATICS, 2004, 134 (1-3) :317-337
[9]  
Glushkov V M, 1961, Russian Mathematical Survey, V16, P1, DOI DOI 10.1070/RM1961V016N05ABEH004112
[10]  
Gramlich G, 2005, LECT NOTES COMPUT SC, V3404, P399