1 #ifndef CGENERALPROPAGATION_H
2 #define CGENERALPROPAGATION_H
29 void SetParams(
const double mutation,
const double crossover)
43 #endif // CGENERALPROPAGATION_H
The base class for the population of a genetic algorithm, implements storage and access functions...
GeneralPropagation(GeneralSelect *const LocalSelect, GeneralPopulation *const LocalPopulation, GeneralRNG *const LocalRandom)
GeneralSelect is the abstract base class for any selection mechanism in genetic algorithms.
virtual ~GeneralPropagation()
The base class for genetic algorithm propagation methods.
void SetParams(const double mutation, const double crossover)
virtual void Mutation(tpopmember &child)
ublas::vector< bool > tpopmember
GeneralPopulation *const Population
virtual void Crossover(tpopmember &father, tpopmember &mother)
GeneralSelect *const Select
The base class for all random number generators, defines the basic interface.
virtual void NextGeneration()=0