具有黑标结果的策划对策的数学复杂性
On the Algorithmic Complexity of the Mastermind Game with Black-Peg Results
摘要:
在本文中,我们研究了算法的复杂性的主谋游戏,其中的结果是单色黑色钉。这与通常的双色版本的游戏不同,但更好地对应于遗传学中的应用。我们表明,它是NP-完全的,以确定是否有一个令人满意的向量的单色Mastermind结果的序列。我们还展示了如何设计有效的算法,通过单色查询发现隐藏向量。事实上,我们的算法改进了Chvatal以前的方法,几乎是2倍。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。