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}\geq 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.
翻译:河内加权塔是典型河内塔问题的一种新概括,在河内塔上,两美元和美元之间的圆盘移动被正正正的美元加权。这个新问题概括了寻找最低移动次数解决河内塔的概念,以找到以最低总成本解决河内塔的最低移动次数。我们提出了解决加权河内塔问题的最佳动态算法,我们还确定了这一问题的某些特性,以及它与基于移动限制的河内塔变异物的关系。