A Representation Approach to the Tower of Hanoi Problem
暂无分享,去创建一个
By making the moving direction of each disc explicit in the representation, a bit-string so constructed can be used to drive the Tower of Hanoi algorithm. The behaviour of disc moves is further analysed based on the bit-string representation. It has been shown that the bit-string for moving n discs can be used to generate successively the Gray codes of n bits.
[1] Edsger Wybe Dijkstra,et al. Ewd 316: a short introduction to the art of programming , 1971 .
[2] Patrick J. Hayes,et al. Discussion and correspondence A note on the Towers of Hanoi problem , 1977 .
[3] D. Huffman. A Method for the Construction of Minimum-Redundancy Codes , 1952 .
[4] Peter Buneman,et al. The Towers of Hanoi Problem , 1980, Inf. Process. Lett..
[5] Richard E. Korf,et al. Toward a Model of Representation Changes , 1980, Artif. Intell..