Selection Operator Interface. More...

Public Member Functions | |
Selection () | |
Constructor. | |
virtual | ~Selection () |
Destructor. | |
GeneticAlgo * | GA () |
Return the GeneticAlgo used. | |
const Genome * | genome () const |
Return the Genome on which it selects. | |
virtual const Genotype * | select ()=0 |
Select a Genotype. | |
void | setGA (GeneticAlgo *g) |
Set the GeneticAlgo used. | |
virtual void | setGenome (const Genome *g) |
Set the Genome from which to select Genotypes. | |
![]() | |
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 on which it selects Genotypes. | |
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
Selection Operator Interface.
- Description
- Interface of the Selection Operator
- Warnings
Definition at line 40 of file selection.h.
Constructor & Destructor Documentation
|
inline |
Constructor.
Definition at line 43 of file selection.h.
|
inlinevirtual |
Destructor.
Definition at line 48 of file selection.h.
Member Function Documentation
|
inline |
Return the GeneticAlgo used.
Definition at line 69 of file selection.h.
|
inline |
Return the Genome on which it selects.
Definition at line 61 of file selection.h.
Referenced by DeterministicRank::select(), and RouletteWheelSelection::select().
|
pure virtual |
Select a Genotype.
Implemented in RouletteWheelSelection, and DeterministicRank.
Referenced by FixedSize::reproduction().
|
inline |
Set the GeneticAlgo used.
Definition at line 65 of file selection.h.
Referenced by FixedSize::setSelection().
|
inlinevirtual |
Set the Genome from which to select Genotypes.
- Note
- subclasses may re-implement this method to perform initialization of the selection process
Reimplemented in RouletteWheelSelection, and DeterministicRank.
Definition at line 57 of file selection.h.
Referenced by FixedSize::reproduction(), DeterministicRank::setGenome(), and RouletteWheelSelection::setGenome().
Member Data Documentation
|
protected |
GeneticAlgo used.
Definition at line 77 of file selection.h.
|
protected |
Genome on which it selects Genotypes.
Definition at line 71 of file selection.h.
The documentation for this class was generated from the following file:
- ga/include/core/selection.h