计算机科学 > 数据结构与算法
[提交于 2009年4月30日]
标题:On the Algorithmic Complexity of the Mastermind Game with Black-Peg Results
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Michael Goodrich[v1] 2009年4月30日 星期四 18:31:15 UTC