#include <BB2004Evo.h>
Inheritance diagram for BBIndividual:
Public Member Functions | |
virtual void | init (const BBIndividual &initial)=0 |
virtual void | interpolate (const BBIndividual &other)=0 |
virtual void | extrapolate (const BBIndividual &other)=0 |
virtual void | mutate ()=0 |
virtual double | getFitness () const =0 |
Definition at line 21 of file BB2004Evo.h.
virtual void BBIndividual::extrapolate | ( | const BBIndividual & | other | ) | [pure virtual] |
The function extrapolates between the current individual and another one. It has to be implemented in a derived class.
other | The other individual the current one is extrapolated with. |
Implemented in CalibrationIndividual, and BBInvKinIndividual.
virtual double BBIndividual::getFitness | ( | ) | const [pure virtual] |
The function calculates the fitness of the individual. It has to be implemented in a derived class.
Implemented in CalibrationIndividual, and BBInvKinIndividual.
virtual void BBIndividual::init | ( | const BBIndividual & | initial | ) | [pure virtual] |
The function initializes the current individual with another one. It has to be implemented in a derived class.
initial | The other individual the current one is initialized with. |
Implemented in CalibrationIndividual, and BBInvKinIndividual.
virtual void BBIndividual::interpolate | ( | const BBIndividual & | other | ) | [pure virtual] |
The function interpolates between the current individual and another one. The result is stored in the current individual. It has to be implemented in a derived class.
other | The other individual the current one is interpolated with. |
Implemented in CalibrationIndividual, and BBInvKinIndividual.
virtual void BBIndividual::mutate | ( | ) | [pure virtual] |
The function mutates the current individual. It has to be implemented in a derived class.
Implemented in CalibrationIndividual, and BBInvKinIndividual.