Computers and Intractability: A Guide to the Theory of NP-Completeness
Computers and Intractability: A Guide to the Theory of NP-Completeness
Finding a Hidden Code by Asking Questions
COCOON '96 Proceedings of the Second Annual International Conference on Computing and Combinatorics
Entropy-driven evolutionary approaches to the mastermind problem
PPSN'10 Proceedings of the 11th international conference on Parallel problem solving from nature: Part II
Improving and scaling evolutionary approaches to the mastermind problem
EvoApplications'11 Proceedings of the 2011 international conference on Applications of evolutionary computation - Volume Part I
The number of pessimistic guesses in Generalized Black-peg Mastermind
Information Processing Letters
FUN'12 Proceedings of the 6th international conference on Fun with Algorithms
Hi-index | 0.89 |
In this paper, we study the algorithmic complexity of the Mastermind game, where results are single-color black pegs. This differs from the usual dual-color version of the game, but better corresponds to applications in genetics. We show that it is NP-complete to determine if a sequence of single-color Mastermind results have a satisfying vector. We also show how to devise efficient algorithms for discovering a hidden vector through single-color queries. Indeed, our algorithm improves a previous method of Chvatal by almost a factor of 2.