【24h】

An efficient algorithm for solving nonograms

机译:一种解决非图的有效算法

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

Nonogram is one of logical games popular in Japan and Netherlands. Solving nonogram is a NP-complete problem. There are some related papers proposed. Some use genetic algorithm (GA), but the solution may get stuck in local optima. Some use depth first search (DFS) algorithm, the execution speed is very slow. In this paper, we propose a puzzle solving algorithm to treat these problems. Based on the fact that most of nonograms are compact and contiguous, some logical rules are deduced to paint some cells. Then, we use the chronological backtracking algorithm to solve those undetermined cells and logical rules to improve the search efficiently. Experimental results show that our algorithm can solve nonograms successfully, and the processing speed is significantly faster than that of DFS. Moreover, our method can determine that a nonogram has no solution.
机译:Nonogram是在日本和荷兰流行的逻辑游戏之一。解决非图是一个NP完全问题。提出了一些相关的论文。有些使用遗传算法(GA),但是解决方案可能会陷入局部最优。有些使用深度优先搜索(DFS)算法,执行速度很慢。在本文中,我们提出了一种难题解决算法来解决这些问题。基于大多数非图是紧凑且连续的事实,推导出一些逻辑规则来绘制一些单元格。然后,我们使用时间回溯算法来解决那些不确定的单元格和逻辑规则,从而有效地提高搜索效率。实验结果表明,该算法能够成功求解非图,并且处理速度明显快于DFS。而且,我们的方法可以确定非图没有解。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号