arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2507.07283cs.CC
收藏

Nonogram:推理的复杂性与相变行为

Nonogram: Complexity of Inference and Phase Transition Behavior

Aaron Foote, Danny Krizanc

AI总结:

本文分析了Nonogram谜题推理问题的计算复杂性,并通过实验发现其难度随填充单元格密度呈现相变行为,同时提出了基于正则表达式的CNF编码方法。

摘要:

Nonogram是一种流行的组合谜题(性质上与数独或扫雷类似),谜题求解者必须确定是否存在满足给定约束集的谜题参数设置。长期以来人们已知,判定解是否存在是一个计算上困难的问题。尽管如此,人类似乎仍然喜欢玩它。这项工作旨在通过以下方式调和这些看似矛盾的事实:(1)分析Nonogram推理问题(即确定是否存在一个无需猜测即可从约束中推断出的谜题参数的问题)的复杂性;(2)通过实验确立该推理问题存在相变行为。我们的结果表明,推理问题的难度在很大程度上由给定谜题中填充单元格(正参数)的密度决定。在此过程中,我们通过使用正则表达式,将Nonogram棋盘高效编码为合取范式(CNF)中的布尔公式,以使我们的实验可行。

英文摘要:

Nonogram is a popular combinatorial puzzle (similar in nature to Sudoku or Minesweeper) in which a puzzle solver must determine if there exists a setting of the puzzle parameters that satisfy a given set of constraints. It has long been known that the problem of deciding if a solution exists is a computationally difficult problem. Despite this fact, humans still seem to enjoy playing it. This work aims to reconcile these seemingly contradictory facts by (1) analyzing the complexity of the inference problem for Nonogram (the problem of determining if there exists a puzzle parameter that can be inferred from the constraints without guessing) and (2) experimentally establishing the existence of a phase transition behavior for this inference problem. Our results show that the difficulty of the inference problem is largely determined by the density of filled cells (positive parameters) in a given puzzle. Along the way we implement an efficient encoding of a Nonogram board as a Boolean formula in Conjunctive Normal Form (CNF) through the use of regular expressions in order to make our experiments feasible.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑