【24h】

Heuristic Method to Find Magic Squares

机译:寻找魔方的启发式方法

获取原文

摘要

Finding magic squares of order n is a search problem in a combinatorial space of n²! different squares. The construction of a magic square is simple for all n, because there are methods that create a deterministic solution for each n. These algorithms ensure the construction of a specific magic square for each n and other squares can be created from this by rotation and other operations. However, as n grows, the number of squares that cannot be obtained from these algorithms increases. The problem of finding different magic squares, not only those particulars provided by the deterministic solutions, is a challenge for any search method. This paper presents a new method to solve the magic square problem using a heuristic algorithm. The solution is separated in two phases. For the first phase, three heuristics are presented, which are used combined to construct a semi-magic square. In the second phase, a simple heuristic is used to find a magic square using the semi-magic square constructed before.
机译:寻找魔术方块n是n&#x00b2的组合空间中的搜索问题;不同的正方形。所有N的魔术广场的构造都很简单,因为有些方法为每个n创建确定性解决方案。这些算法确保每个N和其他正方形的特定魔术正方形的构造可以通过旋转和其他操作来创建。然而,随着N的增长,从这些算法中无法获得的正方形增加。寻找不同魔法广场的问题,而不仅是确定性解决方案提供的那些细节,是任何搜索方法的挑战。本文介绍了使用启发式算法解决魔方问题的新方法。溶液分两看分开。对于第一阶段,提出了三种启发式机器,用于组合以构建半魔方广场。在第二阶段,使用以前构建的半魔方,使用一个简单的启发式启发式来找到一个魔法广场。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号