71 uint8_t crossOverRate,
91 const std::vector<TuningConfiguration>& confs,
93 uint8_t crossOverRate,
111 using Population = std::vector<std::unique_ptr<CandidateConfiguration>>;
127 mutable std::mt19937_64
rng;
Definition: parameters.h:149
TuningConfiguration lastBestConf
Definition: genetic_search.h:114
static constexpr int kMutateIterations
Definition: genetic_search.h:108
const uint8_t kMutationRate
Definition: genetic_search.h:117
const size_t kMaxPopulationSize
Definition: genetic_search.h:115
TuningConfiguration crossover(TuningConfiguration &, TuningConfiguration &, TuningConfiguration &) const
static constexpr int kMinCandidatesForBreeding
Definition: genetic_search.h:109
const size_t kNumberElites
Definition: genetic_search.h:118
std::vector< std::unique_ptr< CandidateConfiguration >> Population
Definition: genetic_search.h:111
Population population
Definition: genetic_search.h:113
std::mt19937_64 rng
Definition: genetic_search.h:127
GeneticSearch(const TuningConfiguration &conf, size_t n, uint8_t crossOverRate, uint8_t mutationRate, size_t numberElites)
Definition: genetic_search.h:51
const uint8_t kCrossOverRate
Definition: genetic_search.h:116