The weighted Tower of Hanoi

08/13/2022
by   El-Mehdi Mehiri, et al.
0

The weighted Tower of Hanoi is a new generalization of the classical Tower of Hanoi problem, where a move of a disc between two pegs i and j is weighted by a positive real w_ij≥ 0. This new problem generalizes the concept of finding the minimum number of moves to solve the Tower of Hanoi, to find a sequence of moves with the minimum total cost. We present an optimal dynamic algorithm to solve the weighted Tower of Hanoi problem, we also establish some properties of this problem, as well as its relation with the Tower of Hanoi variants that are based on move restriction.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset