Mantid
Loading...
Searching...
No Matches
Variables
Mantid::API::MinimizerStatus Namespace Reference

Canonical minimizer "OutputStatus" strings. More...

Variables

const std::string CHANGES_IN_FUNCTION_TOO_SMALL = "Changes in function value are too small"
 Reported by Levenberg-Marquardt when the change in the cost function between iterations has fallen below tolerance (an essentially-converged stop).
 
const std::string CHANGES_IN_PARAMETER_TOO_SMALL = "Changes in parameter value are too small"
 Reported by Levenberg-Marquardt when the change in the parameter values between iterations has fallen below tolerance (an essentially-converged stop).
 
const std::string SUCCESS = "success"
 Reported when a minimizer has fully converged.
 

Detailed Description

Canonical minimizer "OutputStatus" strings.

These are the single source of truth for the status text a minimizer reports (and that consumers such as the Fit algorithm and FitPeaks compare against), so the wording only lives in one place.

Variable Documentation

◆ CHANGES_IN_FUNCTION_TOO_SMALL

const std::string Mantid::API::MinimizerStatus::CHANGES_IN_FUNCTION_TOO_SMALL = "Changes in function value are too small"
inline

Reported by Levenberg-Marquardt when the change in the cost function between iterations has fallen below tolerance (an essentially-converged stop).

Definition at line 31 of file IFuncMinimizer.h.

Referenced by Mantid::Algorithms::FitPeaks::fitStatusIsConverged(), and Mantid::CurveFitting::FuncMinimisers::LevenbergMarquardtMinimizer::iterate().

◆ CHANGES_IN_PARAMETER_TOO_SMALL

const std::string Mantid::API::MinimizerStatus::CHANGES_IN_PARAMETER_TOO_SMALL = "Changes in parameter value are too small"
inline

Reported by Levenberg-Marquardt when the change in the parameter values between iterations has fallen below tolerance (an essentially-converged stop).

Definition at line 34 of file IFuncMinimizer.h.

Referenced by Mantid::Algorithms::FitPeaks::fitStatusIsConverged(), and Mantid::CurveFitting::FuncMinimisers::LevenbergMarquardtMinimizer::iterate().

◆ SUCCESS

const std::string Mantid::API::MinimizerStatus::SUCCESS = "success"
inline