Reproduction Class Reference
Reproduction Process Interface. More...

Public Member Functions | |
Reproduction () | |
Constructor. | |
virtual | ~Reproduction () |
Destructor. | |
GeneticAlgo * | GA () |
Return the GeneticAlgo used. | |
virtual Genome * | reproduction (const Genome *)=0 |
Reproduction Process. | |
void | setGA (GeneticAlgo *g) |
Set the GeneticAlgo used. | |
Protected Attributes | |
GeneticAlgo * | ga |
GeneticAlgo used. |
Detailed Description
Reproduction Process Interface.
- Description
- Interface of the Reproduction Process
It will generate a new Genome starting from a sorted evaluated Genome
- Warnings
Definition at line 41 of file reproduction.h.
Constructor & Destructor Documentation
Reproduction | ( | ) | [inline] |
Constructor.
Definition at line 44 of file reproduction.h.
virtual ~Reproduction | ( | ) | [inline, virtual] |
Destructor.
Definition at line 48 of file reproduction.h.
Member Function Documentation
GeneticAlgo* GA | ( | ) | [inline] |
Return the GeneticAlgo used.
Definition at line 58 of file reproduction.h.
Referenced by FixedSize::setCrossover(), FixedSize::setMutation(), and FixedSize::setSelection().
Reproduction Process.
Implemented in FixedSize.
Referenced by SimpleGA::gaStep(), ParallelGA::gaStep(), and NSGA2::gaStep().
void setGA | ( | GeneticAlgo * | g | ) | [inline] |
Set the GeneticAlgo used.
Definition at line 54 of file reproduction.h.
Referenced by SimpleGA::setReproduction(), ParallelGA::setReproduction(), and NSGA2::setReproduction().
Member Data Documentation
GeneticAlgo* ga [protected] |
GeneticAlgo used.
Definition at line 60 of file reproduction.h.
The documentation for this class was generated from the following file:
- ga/include/core/reproduction.h