Reproduction Process Interface. More...

Inheritance diagram for Reproduction:

List of all members.

Public Member Functions

 Reproduction ()
 Constructor.
virtual ~Reproduction ()
 Destructor.
GeneticAlgoGA ()
 Return the GeneticAlgo used.
virtual Genomereproduction (const Genome *)=0
 Reproduction Process.
void setGA (GeneticAlgo *g)
 Set the GeneticAlgo used.

Protected Attributes

GeneticAlgoga
 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().

virtual Genome* reproduction ( const Genome ) [pure virtual]

Reproduction Process.

Implemented in FixedSize.

Referenced by SimpleGA::gaStep(), ParallelGA::gaStep(), and NSGA2::gaStep().

void setGA ( GeneticAlgo g) [inline]

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: