![]() |
Ultra 0.9.4
|
Public Member Functions | |
| template<Evaluator E> requires NumericalOptimisable<evaluator_individual_t<E>> | |
| std::optional< evaluator_fitness_t< E > > | operator() (evaluator_individual_t< E > &ind, const E &eva, const parameters::refinement_parameters ¶ms) const |
|
inline |
Refines the tunable scalar parameters of ind.
| [in,out] | ind | individual whose scalar parameters are refined |
| [in] | eva | evaluator used to score candidate solutions |
| [in] | params | refinement configuration parameters |
The optimiser extracts a decision vector from ind, performs numerical optimisation over a bounded region around the current parameter values, and writes the best solution back into ind.
If ind exposes no optimisable parameters, this function has no effect.