EasyLocalAPI reference iolab-uniud/easylocal

easylocal::make_runner

A runner for a parameterized algorithm, from its parameters: make_runner<FirstImprovement>({.max_evaluations = 1000}).

Synopsis

Declared in <easylocal/runners/runner.hpp>

template<class Algorithm>
requires detail::parameterized_algorithm<Algorithm>
[[nodiscard]]
auto
make_runner(Algorithm::parameters_type parameters = {});

Description

Throws std::invalid_argument when the parameters are not valid; binding the runner checks them again, after a change through parameters().

Return Value

NOTE

The return value should not be discarded.