TY - JOUR
T1 - NP-completeness of fill-a-Pix and σ2 p-completeness of its fewest clues problem
AU - Higuchi, Yuta
AU - Kimura, Kei
N1 - Publisher Copyright:
Copyright © 2019 The Institute of Electronics, Information and Communication Engineers
PY - 2019
Y1 - 2019
N2 - Fill-a-Pix is a pencil-and-paper puzzle, which is popular worldwide since announced by Conceptis in 2003. It provides a rectangular grid of squares that must be filled in to create a picture. Precisely, we are given a rectangular grid of squares some of which has an integer from 0 to 9 in it, and our task is to paint some squares black so that every square with an integer has the same number of painted squares around it including the square itself. Despite its popularity, computational complexity of Fill-a-Pix has not been known. We in this paper show that the puzzle is NP-complete, ASP-complete, and #P-complete via a parsimonious reduction from the Boolean satisfiability problem. We also consider the fewest clues problem of Fill-a-Pix, where the fewest clues problem is recently introduced by Demaine et al. for analyzing computational complexity of designing “good” puzzles. We show that the fewest clues problem of Fill-a-Pix is Σ2 P -complete.
AB - Fill-a-Pix is a pencil-and-paper puzzle, which is popular worldwide since announced by Conceptis in 2003. It provides a rectangular grid of squares that must be filled in to create a picture. Precisely, we are given a rectangular grid of squares some of which has an integer from 0 to 9 in it, and our task is to paint some squares black so that every square with an integer has the same number of painted squares around it including the square itself. Despite its popularity, computational complexity of Fill-a-Pix has not been known. We in this paper show that the puzzle is NP-complete, ASP-complete, and #P-complete via a parsimonious reduction from the Boolean satisfiability problem. We also consider the fewest clues problem of Fill-a-Pix, where the fewest clues problem is recently introduced by Demaine et al. for analyzing computational complexity of designing “good” puzzles. We show that the fewest clues problem of Fill-a-Pix is Σ2 P -complete.
UR - http://www.scopus.com/inward/record.url?scp=85075469333&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85075469333&partnerID=8YFLogxK
U2 - 10.1587/transfun.E102.A.1490
DO - 10.1587/transfun.E102.A.1490
M3 - Article
AN - SCOPUS:85075469333
SN - 0916-8508
VL - E102A
SP - 1490
EP - 1496
JO - IEICE Transactions on Fundamentals of Electronics, Communications and Computer Sciences
JF - IEICE Transactions on Fundamentals of Electronics, Communications and Computer Sciences
IS - 11
ER -