计算机科学 > 离散数学
[提交于 2022年8月13日]
标题:The weighted Tower of Hanoi
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:El-Mehdi Mehiri[v1] 2022年8月13日 星期六 18:34:52 UTC