Crossover Operator Interface. More...
![Inheritance graph](classfarsa_1_1Crossover__inherit__graph.png)
Public Member Functions | |
Crossover () | |
Constructor. | |
virtual | ~Crossover () |
Destructor. | |
virtual void | crossover (Genotype *father, const Genotype *mother)=0 |
Crossover two Genotypes and return the father modified. | |
GeneticAlgo * | GA () |
Return the GeneticAlgo used. | |
const Genome * | genome () |
Return the Genome. | |
void | setGA (GeneticAlgo *g) |
Set the GeneticAlgo used. | |
void | setGenome (const Genome *g) |
Set the Genome where Genotypes lives. | |
![]() | |
void | addObserver (RuntimeParameterObserver *obs) |
virtual void | configure (ConfigurationParameters ¶ms, QString prefix)=0 |
T | getRuntimeParameter (QString paramName) |
virtual ParameterSettableUI * | getUIManager () |
ParameterSettable () | |
virtual void | postConfigureInitialization () |
void | removeObserver (RuntimeParameterObserver *obs) |
virtual void | save (ConfigurationParameters ¶ms, QString prefix)=0 |
void | setRuntimeParameter (QString paramName, T newvalue) |
QString | typeName () const |
![]() | |
void | addObserver (RuntimeParameterObserver *obs) |
T | getRuntimeParameter (QString paramName) |
void | removeObserver (RuntimeParameterObserver *obs) |
void | setRuntimeParameter (QString paramName, T newvalue) |
QString | typeName () const |
Protected Attributes | |
GeneticAlgo * | ga |
GeneticAlgo used. | |
const Genome * | genomev |
Genome where Genotypes lives. | |
Additional Inherited Members | |
![]() | |
enum | Property |
![]() | |
static void | describe (QString type) |
static QString | fullParameterDescriptionPath (QString type, QString param) |
static QString | fullSubgroupDescriptionPath (QString type, QString sub) |
![]() | |
AllowMultiple | |
Default | |
IsList | |
IsMandatory | |
![]() | |
static const double | Infinity |
static const int | MaxInteger |
static const int | MinInteger |
![]() | |
void | notifyChangesToParam (QString paramName) |
![]() | |
static Descriptor | addTypeDescription (QString type, QString shortHelp, QString longHelp=QString("")) |
static void | setGraphicalEditor (QString type) |
Detailed Description
Crossover Operator Interface.
- Description
- Interface of the Crossover Operator
- Warnings
Definition at line 40 of file crossover.h.
Constructor & Destructor Documentation
|
inline |
Constructor.
Definition at line 43 of file crossover.h.
|
inlinevirtual |
Destructor.
Definition at line 48 of file crossover.h.
Member Function Documentation
Crossover two Genotypes and return the father modified.
- Note
- the mother will not changed, while the father will be replaced by new one
Implemented in OnePoint.
Referenced by FixedSize::reproduction().
|
inline |
Return the GeneticAlgo used.
Definition at line 68 of file crossover.h.
|
inline |
Return the Genome.
Definition at line 60 of file crossover.h.
|
inline |
Set the GeneticAlgo used.
Definition at line 64 of file crossover.h.
Referenced by FixedSize::setCrossover().
|
inline |
Set the Genome where Genotypes lives.
Definition at line 56 of file crossover.h.
Referenced by FixedSize::reproduction().
Member Data Documentation
|
protected |
GeneticAlgo used.
Definition at line 76 of file crossover.h.
|
protected |
Genome where Genotypes lives.
Definition at line 70 of file crossover.h.
The documentation for this class was generated from the following file:
- ga/include/core/crossover.h