Shortest paths between regular states of the Tower of Hanoi

Abstract Two generalizations of the classical Tower of Hanoi problem 0, i.e., to transfer n discs from one peg to another by a series of legal moves, are considered: In 1-type problems the initial configuration is any regular distribution of the n discs among the three pegs, whereas problems of type 2 deal with arbitrary initial and final states. The interest in measuring the distance, i.e., in finding shortest paths between regular states was reinforced by experiments in cognitive psychology and artificial intelligence. The question has, however, caused much confusion in the literature. Setting out from the well-known solution for 0, some mathematical background is developed to construct simple algorithms that solve problems 1 and 2 correctly and return the minimum number of moves as well as the instructions for the first move of a shortest path.

[1]  Nils J. Nilsson,et al.  Problem-solving methods in artificial intelligence , 1971, McGraw-Hill computer science series.

[2]  James G. Greeno,et al.  Theory of rule induction: Knowledge acquired in concept learning, serial pattern learning, and problem solving. , 1974 .

[3]  George W. Ernst,et al.  Mechanical Discovery of Classes of Problem-Solving Strategies , 1982, JACM.

[4]  Herbert A Simon,et al.  The understanding process: Problem isomorphs , 1976, Cognitive Psychology.

[5]  Aiko M. Hormann Programs for Machine Learning. Part II , 1964, Inf. Control..

[6]  D. Wood Adjudicating a towers of hanoi contest , 1983 .

[7]  M. Er Counter examples to adjudicating a towers of hanoi contest , 1987 .

[8]  Xue-Miao Lu,et al.  An Iterative Solution for the 4-Peg Towers of Hanoi , 1989, Comput. J..

[9]  A. M. Hinz,et al.  The average distance on the Sierpiński gasket , 1990 .

[10]  Alberto Pettorossi,et al.  Towers of Hanoi problems: Deriving iterative solutions by program transformations , 1985, BIT.

[11]  M. C. Er,et al.  A General Algorithm for Finding a Shortest Path between two n-Configurations , 1987, Inf. Sci..

[12]  T. Chan A statistical analysis of the towers of hanoi problem , 1989 .

[13]  M. C. Er,et al.  An iterative solution to the generalized Towers of Hanoi problem , 1983, BIT.

[14]  C. Smith,et al.  Some Binary Games , 1944, The Mathematical Gazette.

[15]  Lu. Xue-Miao Towers of hanoi graphs , 1986 .

[16]  George W. Ernst,et al.  GPS : a case study in generality and problem solving , 1971 .

[17]  M. C. Er An optimal algorithm for Reve's puzzle , 1988, Inf. Sci..

[18]  E. Thorndike A study of puzzles with special reference to the psychology of mental adaptation. , 1898 .

[19]  Tadahiro Kitahashi,et al.  A Problem-Decomposition Method Using Differences or Equivalence Relations Between States , 1985, Artif. Intell..

[20]  A. P. Domoryad,et al.  Mathematical games and pastimes , 1966 .

[21]  Steven Minsker,et al.  The super towers of Hanoi problem: large rings on small rings , 1993, Discret. Math..