BBIndividual Class Reference

#include <BB2004Evo.h>

Inheritance diagram for BBIndividual:

BBInvKinIndividual CalibrationIndividual List of all members.

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

Detailed Description

The class is the abstract base class for indiviuals. Concrete implementations only have to be derived from this class.

Definition at line 21 of file BB2004Evo.h.


Member Function Documentation

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.

Parameters:
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.

Returns:
The fitness as a number >= 0. A higher result means a higher fitness.

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.

Parameters:
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.

Parameters:
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.


The documentation for this class was generated from the following file:
Generated on Thu Dec 7 01:19:11 2006 for DT2005.panorama by  doxygen 1.4.7