Selection Operator Interface. More...

Inheritance diagram for Selection:

Public Member Functions

 Selection ()
 Constructor.
 
virtual ~Selection ()
 Destructor.
 
GeneticAlgoGA ()
 Return the GeneticAlgo used.
 
const Genomegenome () const
 Return the Genome on which it selects.
 
virtual const Genotypeselect ()=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.
 
- Public Member Functions inherited from ParameterSettableWithConfigureFunction
void addObserver (RuntimeParameterObserver *obs)
 
virtual void configure (ConfigurationParameters &params, QString prefix)=0
 
getRuntimeParameter (QString paramName)
 
virtual ParameterSettableUIgetUIManager ()
 
 ParameterSettable ()
 
virtual void postConfigureInitialization ()
 
void removeObserver (RuntimeParameterObserver *obs)
 
virtual void save (ConfigurationParameters &params, QString prefix)=0
 
void setRuntimeParameter (QString paramName, T newvalue)
 
QString typeName () const
 
- Public Member Functions inherited from ParameterSettable
void addObserver (RuntimeParameterObserver *obs)
 
getRuntimeParameter (QString paramName)
 
void removeObserver (RuntimeParameterObserver *obs)
 
void setRuntimeParameter (QString paramName, T newvalue)
 
QString typeName () const
 

Protected Attributes

GeneticAlgoga
 GeneticAlgo used.
 
const Genomegenomev
 Genome on which it selects Genotypes.
 

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(""))
 
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

Selection ( )
inline

Constructor.

Definition at line 43 of file selection.h.

virtual ~Selection ( )
inlinevirtual

Destructor.

Definition at line 48 of file selection.h.

Member Function Documentation

GeneticAlgo* GA ( )
inline

Return the GeneticAlgo used.

Definition at line 69 of file selection.h.

const Genome* genome ( ) const
inline

Return the Genome on which it selects.

Definition at line 61 of file selection.h.

Referenced by DeterministicRank::select(), and RouletteWheelSelection::select().

virtual const Genotype* select ( )
pure virtual

Select a Genotype.

Implemented in RouletteWheelSelection, and DeterministicRank.

Referenced by FixedSize::reproduction().

void setGA ( GeneticAlgo g)
inline

Set the GeneticAlgo used.

Definition at line 65 of file selection.h.

Referenced by FixedSize::setSelection().

virtual void setGenome ( const Genome g)
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

GeneticAlgo* ga
protected

GeneticAlgo used.

Definition at line 77 of file selection.h.

const Genome* genomev
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: