SlideShare a Scribd company logo
Comparing evolutionary algorithms to
               solve the game of MasterMind

                   J. Maestro-Montojo, J. J. Merelo, S.
                                                         Salcedo-Sanz
                                                          UGR, UAH

                                                       Combination played




                                                                          Consistent!
                                                                                                             Always play consistent!



                              Not consistent!



            Optimization algorithm based on
              distance to consistency (for all
                                                                                                     D=2
                        combinations played)


 Not all consistent combinations are                                                         Testing two different algorithms
      the same: use partitions
Most parts. Score = 5    Best worst case. Score = -3   Entropy. Score = 1.67

          0b-0w 0b-1w 0b-2w 0b-3w 1b-0w 1b-1w 1b-2w 2b-0w
                                                                                           BS search consistent → search within
      AAA   2     0     0     0     3     0     0     3            1.31
      BBB
      CCC
            4
            4
                  0
                  0
                        0
                        0
                              0
                              0
                                    4
                                    4
                                          0
                                          0
                                                0
                                                0
                                                      0
                                                      0
                                                                   0.96                       consistent set. Score: Entropy
                                                                   0.96
      ABC   0     0     0     1     4     1     1     1            1.58
      CBA   0     1     2     0     3     0     2     0            1.52
      AAB   1     0     2     0     1     1     0     3            1.67
      AAC
      AAD
            1
            2
                  0
                  2
                        2
                        0
                              0
                              0
                                    1
                                    1
                                          0
                                          0
                                                0
                                                0
                                                      4
                                                      3
                                                                   1.42
                                                                   1.52                 Evo++ →Search simultaneously. Score: Most
      BCA   0     1     2     1     3     0     1     0            1.67

                                                                                                     parts or Entropy



                                                                                                Entropy score offers better results.
                                                                                                 Evo++ needs less evaluations (or
                                                                                               more). BS is faster (time-wise) and its
                                                                                               number of evaluations increases less.

More Related Content

PDF
Fundamentos de la tecnología de traducción. Un repaso a las herramientas de t...
PDF
PNRG & MT by Rio
PDF
Effects of population initialization on differential evolution for large scal...
ODP
Improving and Scaling Evolutionary Approaches to the MasterMind Problem
ODP
Even better Mastermind
PPT
An Introduction To Applied Evolutionary Meta Heuristics
PDF
Comparing Metaheuristic Algorithms for Error Detection in Java Programs
ODP
Adapting Heuristic Mastermind Strategies to Evolutionary Algorithms
Fundamentos de la tecnología de traducción. Un repaso a las herramientas de t...
PNRG & MT by Rio
Effects of population initialization on differential evolution for large scal...
Improving and Scaling Evolutionary Approaches to the MasterMind Problem
Even better Mastermind
An Introduction To Applied Evolutionary Meta Heuristics
Comparing Metaheuristic Algorithms for Error Detection in Java Programs
Adapting Heuristic Mastermind Strategies to Evolutionary Algorithms

Viewers also liked (18)

PDF
Benchmarking languages for evolutionary algorithms
PPTX
Genetic Algorithm
PDF
Nature-inspired metaheuristic algorithms for optimization and computional int...
PPT
Visão Geral, Ferramentas e Aplicações dos Algoritmos Genéticos
PPTX
Cuckoo search algorithm
PPTX
Introduction to Evolutionary Algorithms
PDF
CONTEXT-AWARENESS IN A SERVICE ORIENTED E-HEALTH PLATFORM
PDF
Optimizing Strategy Parameters in a Game Bot
PPT
Cuckoo search
PPT
Evolution algorithms
PDF
Metaheuristic Algorithms: A Critical Analysis
PPTX
Genetic Algorithm
PDF
Evolutionary Deckbuilding in Hearthstone
PPTX
Cuckoo Search & Firefly Algorithms
PDF
Genetic Algorithms Made Easy
PPTX
Decision theory
PDF
Enhancing Intelligent Agents By Improving Human Behavior Imitation Using Sta...
PPSX
Covariance Matrix Adaptation Evolution Strategy - CMA-ES
Benchmarking languages for evolutionary algorithms
Genetic Algorithm
Nature-inspired metaheuristic algorithms for optimization and computional int...
Visão Geral, Ferramentas e Aplicações dos Algoritmos Genéticos
Cuckoo search algorithm
Introduction to Evolutionary Algorithms
CONTEXT-AWARENESS IN A SERVICE ORIENTED E-HEALTH PLATFORM
Optimizing Strategy Parameters in a Game Bot
Cuckoo search
Evolution algorithms
Metaheuristic Algorithms: A Critical Analysis
Genetic Algorithm
Evolutionary Deckbuilding in Hearthstone
Cuckoo Search & Firefly Algorithms
Genetic Algorithms Made Easy
Decision theory
Enhancing Intelligent Agents By Improving Human Behavior Imitation Using Sta...
Covariance Matrix Adaptation Evolution Strategy - CMA-ES
Ad

Similar to Póster: Comparing evolutionary algorithms to solve the game of MasterMind (20)

PDF
The Origin of Diversity - Thinking with Chaotic Walk
PDF
Microsoft Word Hw#2
PDF
Evolutionary Algorithms and their Applications in Civil Engineering - 1
PDF
Crowdsourcing for Multimedia Retrieval
PDF
Bolstered error estimation for discrete classifier applied to genomic signal ...
PDF
Baggerly presentation from CSE
PDF
13 genetic algorithms
PDF
White.p.johnson.k
PPTX
Corey Bradshaw_Assessing bias in extinction predictions from species-area rel...
PDF
Cief2007 nn shc_slides
PDF
Towards Probabilistic Assessment of Modularity
PDF
Basic Statistical Process Control
PDF
Analysis update for GENEVA meeting 2011
 
PDF
Machine learning projects with r
PDF
Shape contexts
PDF
Education 3.0: Better Learning Through Technology
PPTX
Vert&Hor Equating 111024
PDF
Q2 exe mba10-qm_quality associates_20104004-05-06
PDF
Stephen Friend IBC Next Generation Sequencing & Genomic Medicine 2011-08-03
ODP
The Post Office Problem
The Origin of Diversity - Thinking with Chaotic Walk
Microsoft Word Hw#2
Evolutionary Algorithms and their Applications in Civil Engineering - 1
Crowdsourcing for Multimedia Retrieval
Bolstered error estimation for discrete classifier applied to genomic signal ...
Baggerly presentation from CSE
13 genetic algorithms
White.p.johnson.k
Corey Bradshaw_Assessing bias in extinction predictions from species-area rel...
Cief2007 nn shc_slides
Towards Probabilistic Assessment of Modularity
Basic Statistical Process Control
Analysis update for GENEVA meeting 2011
 
Machine learning projects with r
Shape contexts
Education 3.0: Better Learning Through Technology
Vert&Hor Equating 111024
Q2 exe mba10-qm_quality associates_20104004-05-06
Stephen Friend IBC Next Generation Sequencing & Genomic Medicine 2011-08-03
The Post Office Problem
Ad

More from Juan J. Merelo (20)

PDF
Acta de defunción de juan monserrat vergés
ODP
Ciencia y videojuegos v4
ODP
Como triunfar con tu proyecto en un hackatón
ODP
Benchmarking languages for evolutionary computation
ODP
8º hackatón de proyectos libres de la UGR: Ayuda para los participantes
ODP
Creación de panorámicas con Hugin
ODP
Introducción a HDR y Tonemapping con Luminance
ODP
Introducción al 7º hackathon UGR
ODP
Nuevas tecnologías, Modas y docencia en el siglo XXI
ODP
Open Access and Copyleft
ODP
Luminance 2014 presentaciión sobre luminance
ODP
Enforcing Corporate Security Policies via Computational Intelligence Techniques
ODP
Evostar 2014 Introduction to the conference
ODP
Presentación Open Data Day en Granada, 2014
ODP
Introducción al uso de git, el sistema de control de fuentes más molón.
ODP
Redes sociales-en-un-rato-piiisa
ODP
¿Necesitas a la oficina de software libre de la Universidad de Granada?
ODP
Presentación 8º CUSL/6º CUSL granadino
ODP
El software libre contado a los universitarios
PPT
Human or machine
Acta de defunción de juan monserrat vergés
Ciencia y videojuegos v4
Como triunfar con tu proyecto en un hackatón
Benchmarking languages for evolutionary computation
8º hackatón de proyectos libres de la UGR: Ayuda para los participantes
Creación de panorámicas con Hugin
Introducción a HDR y Tonemapping con Luminance
Introducción al 7º hackathon UGR
Nuevas tecnologías, Modas y docencia en el siglo XXI
Open Access and Copyleft
Luminance 2014 presentaciión sobre luminance
Enforcing Corporate Security Policies via Computational Intelligence Techniques
Evostar 2014 Introduction to the conference
Presentación Open Data Day en Granada, 2014
Introducción al uso de git, el sistema de control de fuentes más molón.
Redes sociales-en-un-rato-piiisa
¿Necesitas a la oficina de software libre de la Universidad de Granada?
Presentación 8º CUSL/6º CUSL granadino
El software libre contado a los universitarios
Human or machine

Póster: Comparing evolutionary algorithms to solve the game of MasterMind

  • 1. Comparing evolutionary algorithms to solve the game of MasterMind J. Maestro-Montojo, J. J. Merelo, S. Salcedo-Sanz UGR, UAH Combination played Consistent! Always play consistent! Not consistent! Optimization algorithm based on distance to consistency (for all D=2 combinations played) Not all consistent combinations are Testing two different algorithms the same: use partitions Most parts. Score = 5 Best worst case. Score = -3 Entropy. Score = 1.67 0b-0w 0b-1w 0b-2w 0b-3w 1b-0w 1b-1w 1b-2w 2b-0w BS search consistent → search within AAA 2 0 0 0 3 0 0 3 1.31 BBB CCC 4 4 0 0 0 0 0 0 4 4 0 0 0 0 0 0 0.96 consistent set. Score: Entropy 0.96 ABC 0 0 0 1 4 1 1 1 1.58 CBA 0 1 2 0 3 0 2 0 1.52 AAB 1 0 2 0 1 1 0 3 1.67 AAC AAD 1 2 0 2 2 0 0 0 1 1 0 0 0 0 4 3 1.42 1.52 Evo++ →Search simultaneously. Score: Most BCA 0 1 2 1 3 0 1 0 1.67 parts or Entropy Entropy score offers better results. Evo++ needs less evaluations (or more). BS is faster (time-wise) and its number of evaluations increases less.