19 #ifndef NEUROEVOLUTION_H_
20 #define NEUROEVOLUTION_H_
38 NeuroEvolution(std::string suffix, std::string config =
"config.ini", std::string path =
"");
40 void mutateEveryController();
41 void combineAndMutate();
43 void evaluatePopulation();
44 std::vector< NeuroEvoMember *> nextSetOfControllers();
45 void updateScores(std::vector<double> scores);
46 const std::string suffix;
51 int numberOfControllers;
52 std::tr1::ranlux64_base_01 eng;
53 std::vector< NeuroEvoPopulation *> populations;
54 std::vector <NeuroEvoMember *> selectedControllers;
55 std::vector< std::vector< double > > scoresOfTheGeneration;
61 std::ofstream evolutionLog;
63 int numberOfTestsBetweenGenerations;
65 int numberOfElementsToMutate;
Single set of params for NeuroEvolution.
void orderAllPopulations()
A set of members that gets updated and mutated.