|
BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Collection of internal minimizer settings. More...
Inheritance diagram for MinimizerOptions:Public Member Functions | |
| std::string | toOptionString () const |
| Returns string with all options (i.e. "Strategy=1;Tolerance=0.01;") | |
| void | setOptionString (const std::string &options) |
| Set options from their string representation. | |
Public Member Functions inherited from OptionContainer | |
| OptionContainer (const OptionContainer &other) | |
| Returns true if option with such name already exists. | |
| OptionContainer & | operator= (const OptionContainer &other) |
| template<class T > | |
| option_t | addOption (const std::string &optionName, T value, const std::string &description="") |
| option_t | option (const std::string &optionName) |
| const option_t | option (const std::string &optionName) const |
| template<class T > | |
| T | optionValue (const std::string &optionName) const |
| template<class T > | |
| void | setOptionValue (const std::string &optionName, T value) |
| Sets the value of option. Option should hold same value type already. | |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| size_t | size () const |
| bool | empty () const |
Additional Inherited Members | |
Public Types inherited from OptionContainer | |
| using | option_t = std::shared_ptr< MultiOption > |
| using | container_t = std::vector< option_t > |
| using | iterator = container_t::iterator |
| using | const_iterator = container_t::const_iterator |
Protected Member Functions inherited from OptionContainer | |
| bool | exists (const std::string &name) |
| void | swapContent (OptionContainer &other) |
Protected Attributes inherited from OptionContainer | |
| container_t | m_options |
Collection of internal minimizer settings.
Definition at line 23 of file MinimizerOptions.h.