|
Differential Evolution C++ library
|
#include <mutation_strategy.hpp>


Public Member Functions | |
| mutation_strategy_3 (size_t varCount, const mutation_strategy_arguments &args) | |
| mutation_info | operator() (const population &pop, individual_ptr bestIt, size_t i) |
mutation strategy # 3
| de::mutation_strategy_3::mutation_strategy_3 | ( | size_t | varCount, |
| const mutation_strategy_arguments & | args | ||
| ) | [inline] |
constructs a mutation strategy # 3
| varCount | number of variables |
| args | mutation strategy arguments |
| mutation_info de::mutation_strategy_3::operator() | ( | const population & | pop, |
| individual_ptr | bestIt, | ||
| size_t | i | ||
| ) | [inline, virtual] |
performs the mutation
| pop | a reference to the current population |
| bestIt | the best individual of the previous generation |
| i | the current individual index |
Implements de::mutation_strategy.
