BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
MinimizerOptions Class Reference

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.
 
OptionContaineroperator= (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 >
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
 

Detailed Description

Collection of internal minimizer settings.

Definition at line 23 of file MinimizerOptions.h.


The documentation for this class was generated from the following files: