![]() |
Ultra 0.9.4
|
#include "kernel/de/individual.h"#include "kernel/de/search.h"#include "kernel/decision_vector.h"#include "kernel/refiner.h"#include <algorithm>#include <cmath>#include <cstddef>#include <optional>#include <vector>Go to the source code of this file.
Classes | |
| struct | ultra::de::numerical_refinement_backend |
Namespaces | |
| namespace | ultra |
Functions | |
| template<Evaluator E> requires NumericalOptimisable<evaluator_individual_t<E>> | |
| std::optional< evaluator_fitness_t< E > > | ultra::de::optimise (const refiner &opt, evaluator_individual_t< E > &ind, const E &eva) |
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/
| std::optional< evaluator_fitness_t< E > > ultra::de::optimise | ( | const refiner & | opt, |
| evaluator_individual_t< E > & | ind, | ||
| const E & | eva ) |
Convenience API for DE-based numerical refinement.
| [in] | opt | refiner coordinating the refinement process |
| [in,out] | ind | individual whose scalar parameters are refined |
| [in] | eva | evaluator used to score candidate solutions |
Refines the tunable scalar parameters of ind using Differential Evolution through opt.