Differential Evolution C++ library
de::mutation_strategy_arguments Class Reference

#include <mutation_strategy.hpp>

List of all members.

Public Member Functions

 mutation_strategy_arguments (double weight, double crossover)
double weight () const
double crossover () const
double dither () const

Detailed Description

Parameters used by mutation strategies weight factor, crossover factor and dither factor which is calculated from the previous two

Author:
adrian (12/1/2011)

Constructor & Destructor Documentation

de::mutation_strategy_arguments::mutation_strategy_arguments ( double  weight,
double  crossover 
) [inline]

constructs a mutation_strategy_arguments object.

Besides the weight and crossover factors, which are supplied by the calling code, this object holds a dither factor, which is calculated upon construction, and is used by some mutation strtegies.

Author:
adrian (12/4/2011)
Parameters:
weightweight factor which is a double between 0-2 as defined by the differential evolution algorithm
crossovercrossover factor which is a double between 0-1 as defined by the differential evolution algorithm

Member Function Documentation

double de::mutation_strategy_arguments::crossover ( ) const [inline]

returns the crossover factor

Author:
adrian (12/4/2011)
Returns:
double

Here is the caller graph for this function:

double de::mutation_strategy_arguments::dither ( ) const [inline]

returns the dither factor

Author:
adrian (12/4/2011)
Returns:
double

Here is the caller graph for this function:

double de::mutation_strategy_arguments::weight ( ) const [inline]

returns the weight factor

Author:
adrian (12/4/2011)
Returns:
double

Here is the caller graph for this function:


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