首页> 外文会议>International Conference on Frontiers in Education: Computer Science and Computer Engineering >Heuristic function in an algorithm of First-Best search for the problem of Tower of Hanoi: optimal route for n disks
【24h】

Heuristic function in an algorithm of First-Best search for the problem of Tower of Hanoi: optimal route for n disks

机译:首次搜索河内塔问题的启发式函数:N磁盘的最优路由

获取原文

摘要

Along this paper we propose a new algorithm for solving the Tower of Hanoi puzzle. We focus on computer memory efficiency by applying the Artificial Intelligence's method "Best-First Search". We develop the algorithm with detailed explanations, taking in mind it may be coded in any programming language. Furthermore, we set a heuristic function and several mathematical definitions, diagrams, and examples in order to make the reader understand fully. Finally, we present the solution implemented in python, adding proofs of its logical functioning as well as results about execution time made for 16 cases (from using only 3 disks until 18).
机译:沿着本文,我们提出了一种解决河内难题塔的新算法。 我们通过应用人工智能的方法“Best-First Search”来专注于计算机记忆效率。 我们通过详细的解释开发算法,记住它可以以任何编程语言编码。 此外,我们设置了启发式函数和几个数学定义,图表和示例,以使读者完全理解。 最后,我们介绍了在Python中实现的解决方案,添加其逻辑运作的证明以及关于16个案例所做的执行时间的结果(直到18个磁盘为直到18个)。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号