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

page 1

page 2

page 3

page 4

research
10/16/2022

Enumerating moves in the optimal solution of the Tower of Hanoi

In the Tower of Hanoi problem, there is six types of moves between the t...
research
10/01/2020

Analysis of the weighted kappa and its maximum with Markov moves

In this paper the notion of Markov move from Algebraic Statistics is use...
research
10/18/2018

Inglenook Shunting Puzzles

An inglenook puzzle is a classic shunting (switching) puzzle often found...
research
11/09/2021

Parameterized complexity of untangling knots

Deciding whether a diagram of a knot can be untangled with a given numbe...
research
12/07/2022

Partial gathering of mobile agents in dynamic rings

In this paper, we consider the partial gathering problem of mobile agent...
research
07/02/2023

Cops and robber on variants of retracts and subdivisions of oriented graphs

Cops and Robber is one of the most studied two-player pursuit-evasion ga...
research
08/31/2022

Minimum Flow Decomposition in Graphs with Cycles using Integer Linear Programming

Minimum flow decomposition (MFD) – the problem of finding a minimum set ...

Please sign up or login with your details

Forgot password? Click here to reset