|
GALib-Parallel
Header-only C++ library for parallel evolutionary algorithms
|
Parameters for the Standard (Generational) Genetic Algorithm. More...
#include <StandardGAParams.h>
Additional Inherited Members | |
Public Member Functions inherited from galib::AlgorithmConfig | |
| virtual | ~AlgorithmConfig ()=default |
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). | |
Parameters for the Standard (Generational) Genetic Algorithm.
Definition at line 15 of file StandardGAParams.h.