Hanoi磁塔及其最优解
Magnetic Towers of Hanoi and their Optimal Solutions
摘要:
磁性河内塔谜题-如早期论文所述的经典河内塔谜题的修改“基数3”版本,实际上是一小组独立的姐妹谜题,取决于塔的帖子的“预着色”组合。从源帖子上的红色朝上开始,处理中间色或中性帖子,并在目标帖子上结束蓝色朝上,我们以(S,I,D)顺序识别不同的预着色组合。The Tower的预着色组合为{[(R,B,B)/(R,R,B)] ; [(R,B,N)/(N,R,B)] ; [(N,B,N)/(N,R,N)] ; [R,N,B] ; [(R,N,N)/(N,N,B)] ; [N,N,N]}。在本文中,我们调查这些姐妹难题,确定的算法,最佳地解决每个预着色的难题,并证明其最优性。事实证明,六个算法中的五个,它们本身具有挑战性,是解决“自然”的河内自由磁塔难题[N,N,N]的算法的一部分。我们首先证明N盘色塔[(R,B,B)/(R,R,B)]可以通过(3^N - 1)/2次移动来求解。将“算法持续时间”定义为解决难题的算法移动数量与解决彩色塔的算法移动数量的比率,我们找到了所有姐妹难题的持续时间限制。[2019 - 01 - 19 00:00:00][2019 - 01 - 19 00:00][2019 - 01 - 19 00:00][2019 - 01:00][2019 - 01 - 19 00:00][2019 - 01:00][2019 - 01:00]因此,解决汉诺塔问题的最优算法的持续时间限制是20/33或606 0/00。在最佳解决这个丰富多彩的磁性难题的道路上,我们遇到了其他“向前移动”的解谜算法。总的来说,我们研究了10对整数序列。在这20个整数序列中,有5个列在了《在线整数序列百科全书》中,另外15个--还没有。大量不同的解决方案清楚地表明了让河内磁塔之谜如此丰富多彩的自由。
英文摘要:
The Magnetic Tower of Hanoi puzzle - a modified "base 3" version of the classical Tower of Hanoi puzzle as described in earlier papers, is actually a small set of independent sister-puzzles, depending on the "pre-coloring" combination of the tower's posts. Starting with Red facing up on a Source post, working through an Intermediate - colored or Neutral post, and ending Blue facing up on a Destination post, we identify the different pre-coloring combinations in (S,I,D) order. The Tower's pre-coloring combinations are {[(R,B,B) / (R,R,B)] ; [(R,B,N) / (N,R,B)] ; [(N,B,N) / (N,R,N)] ; [R,N,B] ; [(R,N,N) / (N,N,B)] ; [N,N,N]}. In this paper we investigate these sister-puzzles, identify the algorithm that optimally solves each pre-colored puzzle, and prove its Optimality. As it turns out, five of the six algorithms, challenging on their own, are part of the algorithm solving the "natural", Free Magnetic Tower of Hanoi puzzle [N,N,N]. We start by showing that the N-disk Colored Tower [(R,B,B) / (R,R,B)] is solved by (3^N - 1)/2 moves. Defining "Algorithm Duration" as the ratio of number of algorithm-moves solving the puzzle to the number of algorithm-moves solving the Colored Tower, we find the Duration-Limits for all sister-puzzles. In the order of the list above they are {[1] ; [10/11] ; [10/11] ; [8/11] ; [7/11] ; [20/33]}. Thus, the Duration-Limit of the Optimal Algorithm solving the Free Magnetic Tower of Hanoi puzzle is 20/33 or 606 0/00. On the road to optimally solve this colorful Magnetic puzzle, we hit other "forward-moving" puzzle-solving algorithms. Overall we looked at 10 pairs of integer sequences. Of the twenty integer sequences, five are listed in the On-line Encyclopedia of Integer Sequences, the other fifteen - not yet. The large set of different solutions is a clear indication to the freedom-of-wondering that makes this Magnetic Tower of Hanoi puzzle so colorful.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。