EliteSelectStrategy Class Reference

This class makes a elite select and bring only the best individual in the next generation. More...

#include <EliteSelectStrategy.h>

Inherits ISelectStrategy.

Inheritance diagram for EliteSelectStrategy:

Inheritance graph
[legend]
Collaboration diagram for EliteSelectStrategy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 EliteSelectStrategy ()
 default constructor
virtual ~EliteSelectStrategy ()
 default destructor
virtual void select (Generation *oldGeneration, Generation *newGeneration)
 select the individual in the old generation which should be in the new generation (only the best).

Detailed Description

This class makes a elite select and bring only the best individual in the next generation.


Constructor & Destructor Documentation

EliteSelectStrategy (  ) 

default constructor

~EliteSelectStrategy (  )  [virtual]

default destructor


Member Function Documentation

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

select the individual in the old generation which should be in the new generation (only the best).

Parameters:
oldGeneration (Generation*) the old generation
newGeneration (Generation*) the new generation

Implements ISelectStrategy.


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