Genetic Mastermind


CharCircMutate
These are the genetic operators
void randomGen( string& _str, unsigned _len, unsigned _colors )
random generation of strings
struct EvalRules: public EOEvalFunc< EOString<float> >
Evaluation function object: it counts how many mastermind rules have been met
CoincidenceTerm
Termination object for Genetic MasterMind
Terminates when the number of rules met coincides with the number of rules so far, or if _maxCounter steps have happened without change
void getParams( int _argc, char** _argv, unsigned& _p, unsigned& _ngen, unsigned& _r, float& _x, float& _m, float& _t, unsigned& _c, unsigned& _l )
Parses the programīs command line, by creating a parsing object
Genetic Mastermind

Program to play MasterMind using Genetic Algorithms. It uses an standard genetic algorithm, with integer representation, plus an "circle mutation" operator.

Author:
J. J. Merelo
Version:
0.1

alphabetic index hierarchy of classes


BinOp