TY - JOUR
T1 - The Tower of Hanoi problem on Path h graphs
AU - Berend, Daniel
AU - Sapir, Amir
AU - Solomon, Shay
N1 - Funding Information:
The second author’s research was supported in part by the Sapir Academic College, Israel .
PY - 2012/7
Y1 - 2012/7
N2 - The generalized Tower of Hanoi problem with h<4 pegs is known to require a sub-exponentially fast growing number of moves in order to transfer a pile of n disks from one peg to another. In this paper we study the Path h variant, where the pegs are placed along a line, and disks can be moved from a peg to its nearest neighbor(s) only. Whereas in the simple variant there are h(h-1)2 possible bi-directional interconnections among pegs, here there are only h-1 of them. Despite the significant reduction in the number of interconnections, the number of moves needed to transfer a pile of n disks between any two pegs also grows sub-exponentially as a function of n. We study these graphs, identify sets of mutually recursive tasks, and obtain a relatively tight upper bound for the number of moves, depending on h,n and the source and destination pegs.
AB - The generalized Tower of Hanoi problem with h<4 pegs is known to require a sub-exponentially fast growing number of moves in order to transfer a pile of n disks from one peg to another. In this paper we study the Path h variant, where the pegs are placed along a line, and disks can be moved from a peg to its nearest neighbor(s) only. Whereas in the simple variant there are h(h-1)2 possible bi-directional interconnections among pegs, here there are only h-1 of them. Despite the significant reduction in the number of interconnections, the number of moves needed to transfer a pile of n disks between any two pegs also grows sub-exponentially as a function of n. We study these graphs, identify sets of mutually recursive tasks, and obtain a relatively tight upper bound for the number of moves, depending on h,n and the source and destination pegs.
KW - Analysis of algorithms
KW - Path graphs
KW - Subexponential growth rate
KW - Tower of Hanoi
UR - http://www.scopus.com/inward/record.url?scp=84859912999&partnerID=8YFLogxK
U2 - 10.1016/j.dam.2012.02.007
DO - 10.1016/j.dam.2012.02.007
M3 - ???researchoutput.researchoutputtypes.contributiontojournal.article???
AN - SCOPUS:84859912999
SN - 0166-218X
VL - 160
SP - 1465
EP - 1483
JO - Discrete Applied Mathematics
JF - Discrete Applied Mathematics
IS - 10-11
ER -