realea::CrossBLX Class Reference

#include <cross.h>

Inherits realea::ICrossBinary.

List of all members.

Public Member Functions

 CrossBLX (double alpha)
virtual ~CrossBLX (void)
virtual void operator() (const tChromosomeReal &mom, tFitness fit_mom, const tChromosomeReal &dad, tFitness fit_dad, tChromosomeReal &child)

Detailed Description

This class implements the Crossover operator BLX-

Definition at line 38 of file cross.h.


Constructor & Destructor Documentation

CrossBLX::CrossBLX ( double  alpha  ) 

Constructor.

Parameters:
alpha alpha value, its value sets the diversity. 0 => No diversity, 0.3 => Maintain diversity, 0.5-1 => Grow the diversity

Definition at line 47 of file cross.cc.

CrossBLX::~CrossBLX ( void   )  [virtual]

Destructor

Definition at line 51 of file cross.cc.


Member Function Documentation

void CrossBLX::operator() ( const tChromosomeReal &  mom,
tFitness  fit_mom,
const tChromosomeReal &  dad,
tFitness  fit_dad,
tChromosomeReal &  child 
) [virtual]

Create the operator

Definition at line 56 of file cross.cc.

Here is the call graph for this function:


The documentation for this class was generated from the following files:

Generated on Sun May 9 12:26:14 2010 for Realea by  doxygen 1.6.1