Describing an algorithm by Hopcroft
暂无分享,去创建一个
We give an algorithm, its correctness proof, and its proof of execution time bound, for finding the sets of equivalent states in a deterministic finite state automaton. The time bound is K · m · n · log n where K is a constant, m the number of input, symbols, and n the number of states. Hopcroft [3] has already published such an algorithm. The main reason for this paper is to illustrate the use of communicating an algorithm to others using a structured, top-down approach. We have also been able to improve on Hopcroft's algorithm by reducing the size of the algorithm and correspondingly complicating the proof of the running time bound.
[1] Edsger W. Dijkstra,et al. Notes on structured programming , 1970 .
[2] C. A. R. Hoare,et al. An axiomatic basis for computer programming , 1969, CACM.
[3] John E. Hopcroft,et al. An n log n algorithm for minimizing states in a finite automaton , 1971 .