An O(n log n) implementation of the standard method for minimizing n-state finite automata

被引:11
作者
Blum, N
机构
[1] Informatik IV, Universität Bonn, D-53117 Bonn
关键词
algorithms; finite automata; minimization;
D O I
10.1016/0020-0190(95)00199-9
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
More than 20 years ago, Hopcroft (1971) has given an algorithm for minimizing an n-state finite automaton in O(kn log n) time where k is the size of the alphabet. This contrasts to the usual O(kn(2)) algorithms presented in text books. Since Hopcroft's algorithm changes the standard method, a nontrivial correctness proof for its method is needed. In lectures given at university, mostly the standard method and its straightforward O(kn(2)) implementation is presented. We show that a slight modification of the O(kn(2)) implementation combined with the use of a simple data structure composed of chained lists and four arrays of pointers (essentially the same as Hopcroft's data structure) leads to an O(kn log n) implementation of the standard method. Thus, it is possible to present in lectures, with a little additional amount of time, an O(kn log n) time algorithm for minimizing n-state finite automata.
引用
收藏
页码:65 / 69
页数:5
相关论文
empty
未找到相关数据