ISelectStrategy Class Reference

this interface is for a select strategy of the generation class. More...

#include <ISelectStrategy.h>

Inherited by EliteSelectStrategy, RandomSelectStrategy, and TournamentSelectStrategy.

Inheritance diagram for ISelectStrategy:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ISelectStrategy ()
 default constructor
virtual ~ISelectStrategy ()
 default destructor
virtual void select (Generation *oldGeneration, Generation *newGeneration)=0
 abstract function which select the individual from the old generation and copy it in the new generation.

Detailed Description

this interface is for a select strategy of the generation class.


Constructor & Destructor Documentation

ISelectStrategy (  ) 

default constructor

~ISelectStrategy (  )  [virtual]

default destructor


Member Function Documentation

virtual void select ( Generation oldGeneration,
Generation newGeneration 
) [pure virtual]

abstract function which select the individual from the old generation and copy it in the new generation.

Parameters:
oldGeneration (Generation*) the old generation from where the individual comes
newGeneration (Generation*) the new generation where the selected individual should be

Implemented in EliteSelectStrategy, RandomSelectStrategy, and TournamentSelectStrategy.


The documentation for this class was generated from the following files:
Generated on Fri Oct 30 16:29:02 2009 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.4.7