15 #ifndef BORNAGAIN_GUI_VIEW_FIT_FITOBJECTIVEBUILDER_H
16 #define BORNAGAIN_GUI_VIEW_FIT_FITOBJECTIVEBUILDER_H
30 class IChiSquaredModule;
52 std::unique_ptr<ISimulation>
buildSimulation(
const mumufit::Parameters& params)
const;
std::unique_ptr< IChiSquaredModule > createChiSquaredModule() const
void attachObserver(std::shared_ptr< GUIFitObserver > observer)
std::unique_ptr< ISimulation > buildSimulation(const mumufit::Parameters ¶ms) const
std::unique_ptr< IMinimizer > createMinimizer() const
FitObjectiveBuilder(JobItem *jobItem)
std::shared_ptr< GUIFitObserver > m_observer
std::unique_ptr< FitObjective > createFitObjective() const
mumufit::Parameters createParameters() const
std::unique_ptr< FitObjective > m_fit_objective
void update_fit_parameters(const mumufit::Parameters ¶ms) const
Serves as observer for FitObjective and saves fit iteration data for later display in GUI widgets.