Minesweeper on graphs

作者:

Highlights:

摘要

Minesweeper is a popular single player game. It has been shown that the Minesweeper consistency problem is NP-complete and the Minesweeper counting problem is #P-complete. In this paper, we present efficient algorithms for solving these problems for Minesweeper graphs with bounded treewidth. Our algorithms turn out to be much better than those based directly on dynamic programming. The algorithms mostly use of algebraic operations on multivariate polynomials, so that one may use existing software to implement them easily.

论文关键词:Minesweeper,Counting problem,Consistency,Treewidth,Constraint satisfaction,CSP,Generating polynomials,Dynamic programming

论文评审过程:Available online 20 January 2011.

论文官网地址:https://doi.org/10.1016/j.amc.2011.01.046