BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
FitTypes.h File Reference
Include dependency graph for FitTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Fit
 

Typedefs

using simulation_builder_t = std::function< std::unique_ptr< Simulation >(const Fit::Parameters &)>
 
using fit_observer_t = std::function< void(const FitObjective &)>
 

Detailed Description

Defines common types for fitting library.

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file FitTypes.h.

Typedef Documentation

◆ simulation_builder_t

using simulation_builder_t = std::function<std::unique_ptr<Simulation>(const Fit::Parameters&)>

Definition at line 28 of file FitTypes.h.

◆ fit_observer_t

using fit_observer_t = std::function<void(const FitObjective&)>

Definition at line 30 of file FitTypes.h.