The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
enviroment::cOperatorFitnessAlgorithm Class Reference

#include <cOperatorFitnessAlgorithm.h>

Inheritance diagram for enviroment::cOperatorFitnessAlgorithm:

List of all members.

Public Member Functions

virtual ~cOperatorFitnessAlgorithm ()=0
virtual double evalueFitness (const cOperation &operation, const list< cIndividualInfo > &liCreatedIndividualInfos)=0
virtual double updateFitness (const cOperation &operation, const cIndividualInfo &createdIndividualInfo)=0
virtual double updateFitness (const cOperation &operation, const list< cIndividualInfo > &liCreatedIndividualInfos)=0
virtual double getFitness (const cOperation &operation)=0
virtual list< pair< const
cOperation *, double > > 
getFitness ()=0
virtual string getClassName () const
virtual list< const cOperation * > getPossibleOperators () const
virtual double getMinFitness () const =0
virtual double getFitnessSum () const =0
virtual cOperatorFitnessAlgorithmclone () const =0

Detailed Description

Definition at line 59 of file cOperatorFitnessAlgorithm.h.


Constructor & Destructor Documentation

virtual enviroment::cOperatorFitnessAlgorithm::~cOperatorFitnessAlgorithm ( )
pure virtual

Destructor of the class cOperatorFitnessAlgorithm.


Member Function Documentation

virtual cOperatorFitnessAlgorithm* enviroment::cOperatorFitnessAlgorithm::clone ( ) const
pure virtual

This method clones this object.

Returns:
a clone of this object

Implemented in enviroment::cOperatorFitnessAlgorithmBasic.

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:
operationthe operator for which the fitness is to be evalued new
liCreatedIndividualInfosa 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
Returns:
the class name of this object

Reimplemented in enviroment::cOperatorFitnessAlgorithmBasic.

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:
operationthe 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

This method returns the fitness of all operators. This also can include a new evaluation of the fitnessvalue with the information this cOperatorFitnessAlgorithm object knows about the operators.

Returns:
a list with all possible operators with ther fitness

Implemented in enviroment::cOperatorFitnessAlgorithmBasic.

virtual double enviroment::cOperatorFitnessAlgorithm::getFitnessSum ( ) const
pure virtual
Returns:
the sum of all fitnessvalues of all operators

Implemented in enviroment::cOperatorFitnessAlgorithmBasic.

virtual double enviroment::cOperatorFitnessAlgorithm::getMinFitness ( ) const
pure virtual
Returns:
the minimal fitness which this object can evalue

Implemented in enviroment::cOperatorFitnessAlgorithmBasic.

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:
operationthe operator, for which the fitness is to be updated
createdIndividualInfothe 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:
operationthe operator, for which the fitness is to be updated
liCreatedIndividualInfosa 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: