关于仅使用黑色钉结果的主脑游戏算法复杂度
数据结构与算法
2009-05-13 v1 计算复杂性
摘要
本文研究了主脑游戏的算法复杂度,其中结果仅为单色黑色钉。这与通常的双色版本游戏不同,但更好地对应于遗传学中的应用。我们证明了确定一系列单色主脑结果是否存在满足条件的向量是NP完全的。我们还展示了如何设计高效算法,通过单色查询来发现隐藏向量。实际上,我们的算法将Chvatal先前的方法改进了近两倍。
引用
@article{arxiv.0904.4911,
title = {On the Algorithmic Complexity of the Mastermind Game with Black-Peg Results},
author = {Michael T. Goodrich},
journal= {arXiv preprint arXiv:0904.4911},
year = {2009}
}
备注
Expanded version with a figure showing the Mastermind game