|
GALib-Parallel
Header-only C++ library for parallel evolutionary algorithms
|
Parameters for the Differential Evolution Genetic Algorithm. More...
#include <DEParams.h>
Public Attributes | |
| double | f_weight = 0.8 |
Public Attributes inherited from galib::AlgorithmConfig | |
| std::size_t | max_generations = 100 |
| Maximum number of generations to evolve. | |
| double | mutation_rate = 0.05 |
| Probability of mutation occurring for each individual [0.0, 1.0]. | |
| double | crossover_rate = 0.8 |
| Probability of crossover between parents [0.0, 1.0]. | |
| bool | use_elitism = true |
| Whether to preserve the best individual across generations. | |
| std::size_t | threads = 1 |
| std::size_t | num_threads = 0 |
| Number of OpenMP threads to use. 0 means use system default (omp_get_max_threads). | |
Additional Inherited Members | |
Public Member Functions inherited from galib::AlgorithmConfig | |
| virtual | ~AlgorithmConfig ()=default |
Parameters for the Differential Evolution Genetic Algorithm.
Definition at line 15 of file DEParams.h.
| double galib::DEParams::f_weight = 0.8 |
Definition at line 16 of file DEParams.h.
Referenced by galib::utils::AlgorithmBuilder< GeneType >::buildDifferentialEvolutionGA().