首页 | 本学科首页   官方微博 | 高级检索  
     检索      


An analysis of the generalized Towers of Hanoi problem
Authors:M C Er
Institution:1. Department of Computing Science, The University of Wollongong, P.O. Box 1144, 2500, Wollongong, N.S.W., Australia
Abstract:A state-space graph for representing the states and their transitions ofn discs on three pegs is formulated. It is then transformed to a shortest-path tree for representing the shortest paths in transferringn discs in any configurations to a specified peg. The shortest-path tree clearly characterizes the generalized Towers of Hanoi problem; and its use leads to a very simple analysis of the generalized problem. The best-case, the worst-case and the average-case complexities are analyzed.
Keywords:
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号