Adapting Heuristic Mastermind Strategies to Evolutionary Algorithms

12/12/2009
by   Tomas Philip Runarsson, et al.
0

The art of solving the Mastermind puzzle was initiated by Donald Knuth and is already more than 30 years old; despite that, it still receives much attention in operational research and computer games journals, not to mention the nature-inspired stochastic algorithm literature. In this paper we try to suggest a strategy that will allow nature-inspired algorithms to obtain results as good as those based on exhaustive search strategies; in order to do that, we first review, compare and improve current approaches to solving the puzzle; then we test one of these strategies with an estimation of distribution algorithm. Finally, we try to find a strategy that falls short of being exhaustive, and is then amenable for inclusion in nature inspired algorithms (such as evolutionary or particle swarm algorithms). This paper proves that by the incorporation of local entropy into the fitness function of the evolutionary algorithm it becomes a better player than a random one, and gives a rule of thumb on how to incorporate the best heuristic strategies to evolutionary algorithms without incurring in an excessive computational cost.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/04/2017

Drift Analysis

Drift analysis is one of the major tools for analysing evolutionary algo...
research
02/21/2019

Mitigating Metaphors: A Comprehensible Guide to Recent Nature-Inspired Algorithms

In recent years, there has been an explosion of new metaheuristic algori...
research
07/05/2012

An experimental study of exhaustive solutions for the Mastermind puzzle

Mastermind is in essence a search problem in which a string of symbols t...
research
04/05/2023

Doubly Stochastic Matrix Models for Estimation of Distribution Algorithms

Problems with solutions represented by permutations are very prominent i...
research
05/21/2016

Chess Player by Co-Evolutionary Algorithm

A co-evolutionary algorithm (CA) based chess player is presented. Implem...
research
05/04/2017

Evolutionary learning of fire fighting strategies

The dynamic problem of enclosing an expanding fire can be modelled by a ...
research
01/25/2021

Particle Swarm Optimization: Development of a General-Purpose Optimizer

Traditional methods present a very restrictive range of applications, ma...

Please sign up or login with your details

Forgot password? Click here to reset