#include <cOperatorFitnessAlgorithm.h>
List of all members.
Detailed Description
Definition at line 59 of file cOperatorFitnessAlgorithm.h.
Constructor & Destructor Documentation
virtual enviroment::cOperatorFitnessAlgorithm::~cOperatorFitnessAlgorithm |
( |
| ) |
|
|
pure virtual |
Member Function Documentation
virtual double enviroment::cOperatorFitnessAlgorithm::evalueFitness |
( |
const cOperation & |
operation, |
|
|
const list< cIndividualInfo > & |
liCreatedIndividualInfos |
|
) |
| |
|
pure virtual |
This method evalues the fitness of the given operator operation new.
- Parameters:
-
operation | the operator for which the fitness is to be evalued new |
liCreatedIndividualInfos | a list with all informations about all individuals the operator has created |
- Returns:
- the new evalued fitness of the operation
Implemented in enviroment::cOperatorFitnessAlgorithmBasic.
virtual string enviroment::cOperatorFitnessAlgorithm::getClassName |
( |
| ) |
const |
|
virtual |
virtual double enviroment::cOperatorFitnessAlgorithm::getFitness |
( |
const cOperation & |
operation | ) |
|
|
pure virtual |
This method returns the fitness of the given operator operation. This also can include a new evaluation of the fitnessvalue with the information this cOperatorFitnessAlgorithm object knows about the operator.
- Parameters:
-
operation | the operator for which the fitness is to be returned |
- Returns:
- the fitness of the operation
Implemented in enviroment::cOperatorFitnessAlgorithmBasic.
virtual list< pair< const cOperation*, double > > enviroment::cOperatorFitnessAlgorithm::getFitness |
( |
| ) |
|
|
pure virtual |
virtual double enviroment::cOperatorFitnessAlgorithm::getFitnessSum |
( |
| ) |
const |
|
pure virtual |
virtual double enviroment::cOperatorFitnessAlgorithm::getMinFitness |
( |
| ) |
const |
|
pure virtual |
virtual list<const cOperation*> enviroment::cOperatorFitnessAlgorithm::getPossibleOperators |
( |
| ) |
const |
|
virtual |
- Returns:
- a list with all possible operators
virtual double enviroment::cOperatorFitnessAlgorithm::updateFitness |
( |
const cOperation & |
operation, |
|
|
const cIndividualInfo & |
createdIndividualInfo |
|
) |
| |
|
pure virtual |
This method updates the fitness of the given operator operation. For this update the information this cOperatorFitnessAlgorithm object knows about the operation and the given createdIndividualInfo is considered to evalue the new fitness.
- Parameters:
-
operation | the operator, for which the fitness is to be updated |
createdIndividualInfo | the information about an individual the operator has created and which is not jet known by this cOperatorFitnessAlgorithm object |
- Returns:
- the new evalued fitness of the operation
Implemented in enviroment::cOperatorFitnessAlgorithmBasic.
virtual double enviroment::cOperatorFitnessAlgorithm::updateFitness |
( |
const cOperation & |
operation, |
|
|
const list< cIndividualInfo > & |
liCreatedIndividualInfos |
|
) |
| |
|
pure virtual |
This method updates the fitness of the given operator operation. For this update the information this cOperatorFitnessAlgorithm object knows about the operation and the given information in liCreatedIndividualInfos is considered to evalue the new fitness.
- Parameters:
-
operation | the operator, for which the fitness is to be updated |
liCreatedIndividualInfos | a list with the information about the individuals the operator has created and which are not jet known by this cOperatorFitnessAlgorithm object |
- Returns:
- the new evalued fitness of the operation
Implemented in enviroment::cOperatorFitnessAlgorithmBasic.
The documentation for this class was generated from the following file: