首页> 外文会议>International Workshop on Combinatorial Image Analysis >A Reasoning Framework for Solving Nonograms
【24h】

A Reasoning Framework for Solving Nonograms

机译:解决非图形的推理框架

获取原文

摘要

Nonograms, also known as Japanese puzzles, are logic puzzles that are sold by many news paper vendors. The challenge is to fill a grid with black and white pixels in such a way that a given description for each row and column, indicating the lengths of consecutive segments of black pixels, is adhered to. Although the Nonograms in puzzle books can usually be solved by hand, the general problem of solving Nonograms is NP-hard. In this paper, we propose a local reasoning framework that can be used to deduce the value of certain pixels in the puzzle, given a partial filling. By iterating this procedure, starting from an empty grid, it is often possible to solve the puzzle completely. Our approach is based on ideas from dynamic programming, 2-satisfiability problems, and network flows. Our experimental results demonstrate that the approach is capable of solving a variety of Nonograms that cannot be solved by simple logic reasoning within individual rows and columns, without resorting to branching operations. Moreover, all the computations involved in the solution process can be performed in polynomial time.
机译:非图表,也称为日本谜题,是许多新闻纸厂出售的逻辑谜题。挑战是以具有黑白像素的方式填充一个网格,使得每个行和列的给定描述,指示黑色像素的连续段的长度被粘附到。虽然拼图书中的非图形通常可以用手解决,但是求解非图形的一般问题是NP-HARD。在本文中,我们提出了一种局部推理框架,其可用于给予拼图中某些像素的值,给出部分填充。通过迭代此过程,从空网格开始,通常可以完全解决难题。我们的方法是基于来自动态编程,2个可靠性问题和网络流的思想。我们的实验结果表明,该方法能够解决各种非图表,这些非图表不能通过单个行和列内的简单逻辑推理来解决,而无需诉诸分支操作。此外,可以在多项式时间中执行解决方案过程中涉及的所有计算。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号