Crossover Operator Interface. More...

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. | |
Public Member Functions inherited from ParameterSettableWithConfigureFunction | |
| 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 |
Public Member Functions inherited from ParameterSettable | |
| 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 | |
Public Types inherited from ParameterSettableWithConfigureFunction | |
| enum | Property |
Static Public Member Functions inherited from ParameterSettableWithConfigureFunction | |
| static void | describe (QString type) |
| static QString | fullParameterDescriptionPath (QString type, QString param) |
| static QString | fullSubgroupDescriptionPath (QString type, QString sub) |
Public Attributes inherited from ParameterSettableWithConfigureFunction | |
| AllowMultiple | |
| Default | |
| IsList | |
| IsMandatory | |
Static Public Attributes inherited from ParameterSettableWithConfigureFunction | |
| static const double | Infinity |
| static const int | MaxInteger |
| static const int | MinInteger |
Protected Member Functions inherited from ParameterSettableWithConfigureFunction | |
| void | notifyChangesToParam (QString paramName) |
Static Protected Member Functions inherited from ParameterSettableWithConfigureFunction | |
| static Descriptor | addTypeDescription (QString type, QString shortHelp, QString longHelp=QString("")) |
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
Public Member Functions inherited from