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 条
  • [31] An efficient and robust algorithm for solving the foot point problem
    Anderson, IJ
    Cox, MG
    Forbes, AB
    Mason, JC
    Turner, DA
    MATHEMATICAL METHODS FOR CURVES AND SURFACES II, 1998, : 9 - 16
  • [32] AN EFFICIENT ALGORITHM FOR SOLVING THE RECTILINEAR MULTIFACILITY LOCATION PROBLEM
    DAX, A
    IMA JOURNAL OF NUMERICAL ANALYSIS, 1986, 6 (03) : 343 - 355
  • [33] An efficient Planet Optimization Algorithm for solving engineering problems
    Thanh Sang-To
    Minh Hoang-Le
    Wahab, Magd Abdel
    Thanh Cuong-Le
    SCIENTIFIC REPORTS, 2022, 12 (01)
  • [34] An efficient algorithm for solving the partial sum query problem
    Kumar, A
    INFORMATION SCIENCES, 2001, 137 (1-4) : 245 - 258
  • [35] An efficient parallel algorithm for solving the knapsack problem on the hypercube
    Goldman, A
    Trystram, D
    11TH INTERNATIONAL PARALLEL PROCESSING SYMPOSIUM, PROCEEDINGS, 1997, : 608 - 615
  • [36] An Efficient Parallel Algorithm for Solving Cryptarithmetic Problems: PGA
    Rahnavard, Gholamali
    Dastghaibyfard, Gholamhossein
    2009 THIRD UKSIM EUROPEAN SYMPOSIUM ON COMPUTER MODELING AND SIMULATION (EMS 2009), 2009, : 102 - +
  • [37] An Efficient Algorithm for Solving the 2-MAXSAT Problem
    Chen, Yangjun
    CONTEMPORARY MATHEMATICS, 2024, 5 (03): : 3374 - 3391
  • [38] An efficient algorithm for solving the generalized trust region subproblem
    M. Salahi
    A. Taati
    Computational and Applied Mathematics, 2018, 37 : 395 - 413
  • [39] Efficient algorithm for solving stiff ordinary differential equations
    Stabrowski, M.M.
    Simulation Practice and Theory, 1997, 5 (04): : 333 - 344
  • [40] An efficient algorithm for solving the homogeneous set sandwich problem
    Tang, SM
    Yeh, FL
    Wang, YL
    INFORMATION PROCESSING LETTERS, 2001, 77 (01) : 17 - 22