標題: | An efficient algorithm for solving nonograms |
作者: | Yu, Chiung-Hsueh Lee, Hui-Lung Chen, Ling-Hwei 資訊工程學系 Department of Computer Science |
關鍵字: | Japanese puzzle;Nonogram;Depth first search;Chronological backtracking |
公開日期: | 1-八月-2011 |
摘要: | 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. |
URI: | http://dx.doi.org/10.1007/s10489-009-0200-0 http://hdl.handle.net/11536/21283 |
ISSN: | 0924-669X |
DOI: | 10.1007/s10489-009-0200-0 |
期刊: | APPLIED INTELLIGENCE |
Volume: | 35 |
Issue: | 1 |
起始頁: | 18 |
結束頁: | 31 |
顯示於類別: | 期刊論文 |