realea::ISelect Class Reference

abstract the parent selection method More...

#include <select.h>

Inherited by realea::SelectNAM, and realea::SelectTournament.

List of all members.

Public Member Functions

virtual void select (PopulationRealPtr pop, unsigned *mom, unsigned *dad)=0
void setRandom (Random *random)

Detailed Description

abstract the parent selection method

Esta clase permite seleccionar los padres a cruzar (para el AGE)

Definition at line 37 of file select.h.


Member Function Documentation

virtual void realea::ISelect::select ( PopulationRealPtr  pop,
unsigned *  mom,
unsigned *  dad 
) [pure virtual]

Select two new parents from a population

Parameters:
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]

Set the random number generators

Parameters:
random random generator

Definition at line 55 of file select.h.


The documentation for this class was generated from the following file:

Generated on Sun May 9 12:44:37 2010 for MA-CMA-Chains by  doxygen 1.6.1