arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1207.1315cs.NEmath.OC
收藏

Mastermind问题穷举解的实验研究

An experimental study of exhaustive solutions for the Mastermind puzzle

J. J. Merelo, Antonio M. Mora, Carlos Cotta, Thomas P. Runarsson

摘要:

摄魂术本质上是一个搜索问题,其中必须通过顺序播放使用相同字母表的字符串来找到一串保密的符号,并使用指示其他字符串与秘密字符串有多接近的响应作为提示。虽然它被商业化为一个游戏,但它是一个高度复杂的组合问题,其应用范围从计算机安全到基因组学。对于这类问题,没有精确的解决方案;即使是穷举搜索方法也依赖于在每一步选择字符串以获得最佳可能的提示。这些方法大多尝试在下一步中采取最能减少搜索空间大小的举动;该举动是根据经验得分选择的。然而,在本文中,我们将研究几个国家的最先进的穷举搜索方法,并表明,另一个因素,存在的实际解决方案之间的候选移动,或者,换句话说,事实上,实际的解决方案具有最高的分数,也起着非常重要的作用。利用这一点,我们将提出新的穷举搜索方法,获得的结果是可比的经典的,此外,更适合作为基础的非穷举搜索策略,如进化算法,因为他们的行为在一系列的关键指标是优于经典算法。

英文摘要:

Mastermind is in essence a search problem in which a string of symbols that is kept secret must be found by sequentially playing strings that use the same alphabet, and using the responses that indicate how close are those other strings to the secret one as hints. Although it is commercialized as a game, it is a combinatorial problem of high complexity, with applications on fields that range from computer security to genomics. As such a kind of problem, there are no exact solutions; even exhaustive search methods rely on heuristics to choose, at every step, strings to get the best possible hint. These methods mostly try to play the move that offers the best reduction in search space size in the next step; this move is chosen according to an empirical score. However, in this paper we will examine several state of the art exhaustive search methods and show that another factor, the presence of the actual solution among the candidate moves, or, in other words, the fact that the actual solution has the highest score, plays also a very important role. Using that, we will propose new exhaustive search approaches that obtain results which are comparable to the classic ones, and besides, are better suited as a basis for non-exhaustive search strategies such as evolutionary algorithms, since their behavior in a series of key indicators is better than the classical algorithms.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑