abstract the parent selection method More...
#include <select.h>
Inherited by realea::SelectNAM, and realea::SelectTournament.
Public Member Functions | |
| virtual void | select (PopulationRealPtr pop, unsigned *mom, unsigned *dad)=0 |
| void | setRandom (Random *random) |
abstract the parent selection method
Esta clase permite seleccionar los padres a cruzar (para el AGE)
Definition at line 37 of file select.h.
| virtual void realea::ISelect::select | ( | PopulationRealPtr | pop, | |
| unsigned * | mom, | |||
| unsigned * | dad | |||
| ) | [pure virtual] |
Select two new parents from a population
| pop | population from select the individuals | |
| mom | mother of the crossover | |
| dad | father of the crossover |
Implemented in realea::SelectNAM, and realea::SelectTournament.
| void realea::ISelect::setRandom | ( | Random * | random | ) | [inline] |
1.6.1