38template <concepts::explicit_regularized_solver Solver>
66 return -
solver_->l_curve_curvature(param);
115 const auto [min_param, max_param] =
solver_->param_search_region();
116 const scalar_type log_min_param = log10(min_param);
117 const scalar_type log_max_param = log10(max_param);
118 optimizer_.init(log_min_param, log_max_param);
Wrapper class of a function object to use as an objective function.
Class to perform global optimization using heuristics.
Class of objective function in L-curve.
auto operator()(const scalar_type &log_param) const -> scalar_type
Calculate the curvature of L-curve.
const solver_type * solver_
Solver.
explicit_l_curve_objective_function(const solver_type &solver)
Constructor.
typename solver_type::scalar_type scalar_type
Type of scalars.
Solver solver_type
Type of solvers.
Class to search optimal regularization parameter using l-curve.
typename solver_type::data_type data_type
Type of data.
Optimizer< opt::function_object_wrapper< scalar_type(scalar_type), explicit_l_curve_objective_function< solver_type > > > optimizer_type
Type of optimizers.
scalar_type opt_param_
Optimal regularization parameter.
const solver_type * solver_
Solver.
void solve(data_type &solution) const
Solver with the optimal regularization parameter.
auto opt_param() const -> scalar_type
Get the optimal regularization parameter.
explicit_l_curve(const solver_type &solver)
Constructor.
optimizer_type optimizer_
Optimizer.
void search()
Search the optimal regularization parameter.
typename solver_type::scalar_type scalar_type
Type of scalars.
Solver solver_type
Type of solvers.
Base class for searching the optimal regularization parameters using explicit formulas for regulariza...
typename solver_type::data_type data_type
Type of data.
typename solver_type::scalar_type scalar_type
Type of scalars.
Solver solver_type
Type of solvers.
Concept of solvers using explicit formulas for regularization.
Definition of explicit_param_searcher_base class.
Definition of explicit_regularized_solver concept.
Definition of function_object_wrapper class.
Definition of heuristic_global_optimizer class.
Namespace of regularization algorithms.