Robot Simulator of the Robotics Group for Self-Organization of Control
0.8.0
|
This interface is to specify how big the next generation should be. More...
#include <IGenerationSizeStrategy.h>
Public Member Functions | |
IGenerationSizeStrategy () | |
default constructor do nothing More... | |
virtual | ~IGenerationSizeStrategy () |
default destructor do nothing More... | |
virtual int | calcGenerationSize (Generation *oldGeneration)=0 |
declaration for a function which calculate the size of the next generation after oldGeneration More... | |
This interface is to specify how big the next generation should be.
default constructor do nothing
|
virtual |
default destructor do nothing
|
pure virtual |
declaration for a function which calculate the size of the next generation after oldGeneration
oldGeneration | (Generation*) the old generation |
Implemented in StandartGenerationSizeStrategy, and FixGenerationSizeStrategy.