Monte Carlo Integration Library 1.0
High-performance Monte Carlo methods for numerical integration and optimization
Classes | Namespaces
GA.hpp File Reference

Genetic Algorithm (GA) interface and data structures. More...

#include "optimizer.hpp"
#include <vector>
#include <random>
#include <stdexcept>
Include dependency graph for GA.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mc::optim::GAConfig
 Configuration parameters for GA. More...
 
class  mc::optim::GA
 Genetic Algorithm optimizer. More...
 
struct  mc::optim::GA::Individual
 A single population member. More...
 

Namespaces

namespace  mc
 
namespace  mc::optim
 

Detailed Description

Genetic Algorithm (GA) interface and data structures.

Implements tournament selection, uniform crossover and Gaussian mutation with elitism. Evaluations may be parallelized; global-best updates are performed serially to avoid races and ensure deterministic results.

Definition in file GA.hpp.