An efficient algorithm for solving nonograms

被引:0
|
作者
Chiung-Hsueh Yu
Hui-Lung Lee
Ling-Hwei Chen
机构
[1] National Chiao Tung University,Department of Computer Science
来源
Applied Intelligence | 2011年 / 35卷
关键词
Japanese puzzle; Nonogram; Depth first search; Chronological backtracking;
D O I
暂无
中图分类号
学科分类号
摘要
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.
引用
收藏
页码:18 / 31
页数:13
相关论文
共 50 条
  • [1] An efficient algorithm for solving nonograms
    Yu, Chiung-Hsueh
    Lee, Hui-Lung
    Chen, Ling-Hwei
    APPLIED INTELLIGENCE, 2011, 35 (01) : 18 - 31
  • [2] An Efficient Approach to Solving Nonograms
    Wu, I-Chen
    Sun, Der-Johng
    Chen, Lung-Ping
    Chen, Kan-Yueh
    Kuo, Ching-Hua
    Kang, Hao-Hua
    Lin, Hung-Hsuan
    IEEE TRANSACTIONS ON COMPUTATIONAL INTELLIGENCE AND AI IN GAMES, 2013, 5 (03) : 251 - 264
  • [3] Solving Nonograms by combining relaxations
    Vision Lab, Department of Physics, University of Antwerp, Universiteitsplein 1, B-2610 Wilrijk, Belgium
    不详
    Pattern Recogn., 8 (1672-1683):
  • [4] Solving Nonograms by combining relaxations
    Batenburg, K. J.
    Kosters, W. A.
    PATTERN RECOGNITION, 2009, 42 (08) : 1672 - 1692
  • [5] Solving Japanese nonograms by Taguchi-based genetic algorithm
    Tsai, Jinn-Tsong
    APPLIED INTELLIGENCE, 2012, 37 (03) : 405 - 419
  • [6] Solving Japanese nonograms by Taguchi-based genetic algorithm
    Jinn-Tsong Tsai
    Applied Intelligence, 2012, 37 : 405 - 419
  • [7] Solving nonograms using neural networks
    Rubio, Jose Maria Buades
    Jaume-i-Capo, Antoni
    Gonzalez, David Lopez
    Alcover, Gabriel Moya
    ENTERTAINMENT COMPUTING, 2024, 50
  • [8] A reasoning framework for solving nonograms
    Batenburg, K. Joost
    Kosters, Walter A.
    COMBINATORIAL IMAGE ANALYSIS, 2008, 4958 : 372 - +
  • [9] Solving nonograms using genetic algorithms
    Bobko, Alicja
    Grzywacz, Tomasz
    PROCEEDINGS OF 2016 17TH INTERNATIONAL CONFERENCE COMPUTATIONAL PROBLEMS OF ELECTRICAL ENGINEERING (CPEE), 2016,
  • [10] Solving Nonograms Using Integer Programming Without Coloring
    Khan, Kamil A.
    IEEE TRANSACTIONS ON GAMES, 2022, 14 (01) : 56 - 63