5 #ifndef DIGNEA_GENERATIONALGA_H
6 #define DIGNEA_GENERATIONALGA_H
9 #include <dignea/core/Crossover.h>
10 #include <dignea/core/Mutation.h>
11 #include <dignea/core/Solution.h>
14 #include <dignea/utilities/random/PseudoRandom.h>
33 string getName()
const override {
return "Generational Genetic Algorithm"; }
39 string getID()
const override {
return "GGA"; }
52 this->
replacement = make_unique<EGenerational<S>>();
62 this->performedEvaluations += this->populationSize;
Class to represent an Abstract Genetic Algorithm. Base skeleton is defined here, to extend in particu...
Definition: AbstractGA.h:38
unique_ptr< Replacement< S > > replacement
Definition: AbstractGA.h:101
Class to represents a Generation Genetic Algorithm (GGA). This algorithms differentiate from others b...
Definition: GenerationalGA.h:23
GenerationalGA()
Creates a RAW instance of a Generational GA algorithm.
Definition: GenerationalGA.h:51
string getName() const override
Get the Name.
Definition: GenerationalGA.h:33
string getID() const override
Get the ID of the algorithm.
Definition: GenerationalGA.h:39
void updateProgress() override
Updates the performed evaluations to the population size on each call.
Definition: GenerationalGA.h:61