Abstract
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.
Original language | English |
---|---|
Pages (from-to) | 6616-6623 |
Number of pages | 8 |
Journal | Applied Mathematics and Computation |
Volume | 217 |
Issue number | 14 |
DOIs | |
State | Published - 15 Mar 2011 |
Keywords
- CSP
- Consistency
- Constraint satisfaction
- Counting problem
- Dynamic programming
- Generating polynomials
- Minesweeper
- Treewidth
ASJC Scopus subject areas
- Computational Mathematics
- Applied Mathematics