On the Difficulty of Nonograms

Nonograms are a popular type of logic puzzles, where a pixel grid has to be filled with black and white pixels, based on a description that indicates the lengths of the consecutive black segments for each row and column. While the Nonograms that can be found in puzzle books can typically be solved by applying a series of highly local reasoning steps regarding single rows and columns, the general Nonogram problem is NP-hard. In this article, we explore the difficulty distributions for puzzles between these two extremes. After defining several difficulty measures and subclasses, we analyze the frequencies of various types of puzzles within the set of all possible Nonograms, using both exhaustive enumeration and sampling.