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
相关论文
共 45 条
  • [31] The state minimization problem for nondeterministic finite automata: the parallel implementation of the truncated branch and bound method
    Melnikov, Boris
    Tsyganov, Andrey
    2012 FIFTH INTERNATIONAL SYMPOSIUM ON PARALLEL ARCHITECTURES, ALGORITHMS AND PROGRAMMING (PAAP), 2012, : 194 - 201
  • [32] A RANDOMIZED ALGORITHM FOR FINDING MAXIMUM WITH O((LOG N)(2)) POLYNOMIAL TESTS
    TING, HF
    YAO, AC
    INFORMATION PROCESSING LETTERS, 1994, 49 (01) : 39 - 43
  • [33] Multiple-Source Single-Sink Maximum Flow in Directed Planar Graphs in O(diameter . n log n) Time
    Klein, Philip N.
    Mozes, Shay
    ALGORITHMS AND DATA STRUCTURES, 2011, 6844 : 571 - +
  • [34] FULLY DYNAMIC MAXIMAL MATCHING IN O(log N) UPDATE TIME (CORRECTED VERSION)
    Baswana, Surender
    Gupta, Manoj
    Sen, Sandeep
    SIAM JOURNAL ON COMPUTING, 2018, 47 (03) : 617 - 650
  • [35] Shortest Paths in Directed Planar Graphs with Negative Lengths: A Linear-Space O(n log2 n)-Time Algorithm
    Klein, Philip N.
    Mozes, Shay
    Weimann, Oren
    ACM TRANSACTIONS ON ALGORITHMS, 2010, 6 (02)
  • [36] O((log n)2) Time Online Approximation Schemes for Bin Packing and Subset Sum Problems
    Ding, Liang
    Fu, Bin
    Fu, Yunhui
    Lu, Zaixin
    Zhao, Zhiyu
    FRONTIERS IN ALGORITHMICS, 2010, 6213 : 250 - +
  • [37] Selected Operations and Applications of n-Tape Weighted Finite-State Machines
    Kempe, Andre
    FINITE-STATE METHODS AND NATURAL LANGUAGE PROCESSING, 2010, 6062 : 31 - 46
  • [38] Finite n-tape automata over possibly infinite alphabets: Extending a theorem of Eilenberg et al.
    Choffrut, Christian
    Grigorieff, Serge
    THEORETICAL COMPUTER SCIENCE, 2009, 410 (01) : 16 - 34
  • [39] Dynamic Bridge-Finding in (O)over-tilde(log2 n) Amortized Time
    Holm, Jacob
    Rotenberg, Eva
    Thorup, Mikkel
    SODA'18: PROCEEDINGS OF THE TWENTY-NINTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2018, : 35 - 52
  • [40] Detecting High Log-Densities - an O(n1/4) Approximation for Densest k-Subgraph
    Bhaskara, Aditya
    Charikar, Moses
    Chlamtac, Eden
    Feige, Uriel
    Vijayaraghavan, Aravindan
    STOC 2010: PROCEEDINGS OF THE 2010 ACM SYMPOSIUM ON THEORY OF COMPUTING, 2010, : 201 - 210