1#ifndef ALGORITHM_CONFIG_H
2#define ALGORITHM_CONFIG_H
Base structure for common genetic algorithm configuration parameters.
double mutation_rate
Probability of mutation occurring for each individual [0.0, 1.0].
virtual ~AlgorithmConfig()=default
bool use_elitism
Whether to preserve the best individual across generations.
std::size_t max_generations
Maximum number of generations to evolve.
double crossover_rate
Probability of crossover between parents [0.0, 1.0].
std::size_t num_threads
Number of OpenMP threads to use. 0 means use system default (omp_get_max_threads).