IGenerationSizeStrategy Class Reference

This interface is to specify how big the next generation should be. More...

#include <IGenerationSizeStrategy.h>

Inherited by FixGenerationSizeStrategy, and StandartGenerationSizeStrategy.

Inheritance diagram for IGenerationSizeStrategy:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 IGenerationSizeStrategy ()
 default constructor do nothing
virtual ~IGenerationSizeStrategy ()
 default destructor do nothing
virtual int calcGenerationSize (Generation *oldGeneration)=0
 declaration for a function which calculate the size of the next generation after oldGeneration

Detailed Description

This interface is to specify how big the next generation should be.


Constructor & Destructor Documentation

IGenerationSizeStrategy (  ) 

default constructor do nothing

~IGenerationSizeStrategy (  )  [virtual]

default destructor do nothing


Member Function Documentation

virtual int calcGenerationSize ( Generation oldGeneration  )  [pure virtual]

declaration for a function which calculate the size of the next generation after oldGeneration

Parameters:
oldGeneration (Generation*) the old generation
Returns:
(int) the new size

Implemented in FixGenerationSizeStrategy, and StandartGenerationSizeStrategy.


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