Robot Simulator of the Robotics Group for Self-Organization of Control
0.8.0
|
This class implements the generation size strategy with a fix value which is over the constructor given. More...
#include <FixGenerationSizeStrategy.h>
Public Member Functions | |
FixGenerationSizeStrategy (int value) | |
constructor More... | |
virtual | ~FixGenerationSizeStrategy () |
default destructor More... | |
virtual int | calcGenerationSize (Generation *oldGeneration) |
gives the fix value m_size as new generation size back. More... | |
![]() | |
IGenerationSizeStrategy () | |
default constructor do nothing More... | |
virtual | ~IGenerationSizeStrategy () |
default destructor do nothing More... | |
Protected Attributes | |
int | m_size |
the fix generation size More... | |
This class implements the generation size strategy with a fix value which is over the constructor given.
FixGenerationSizeStrategy | ( | int | value | ) |
constructor
value | (int) the fix value which is every time give back by calcGenerationSize. |
|
virtual |
default destructor
|
virtual |
gives the fix value m_size as new generation size back.
oldGeneration | (Generation*) the old Generation. dont needed |
Implements IGenerationSizeStrategy.
|
protected |
the fix generation size