|
Monte Carlo Integration Library 1.0
High-performance Monte Carlo methods for numerical integration and optimization
|
Genetic Algorithm implementation. More...
#include "GA.hpp"#include "../rng/rng_factory.hpp"#include <algorithm>#include <cmath>#include <cstdint>Go to the source code of this file.
Namespaces | |
| namespace | mc |
| namespace | mc::optim |
Genetic Algorithm implementation.
Implements tournament selection, uniform crossover, Gaussian mutation, and elitism. Fitness evaluation may be parallelized with OpenMP. Global-best updates are performed serially (outside parallel regions) to avoid races and ensure deterministic tie-breaking.
Definition in file GA.cpp.