/* * ModelFitFacade.h * * Created on: Oct 7, 2013 * Author: steve */ #ifndef MODELFITFACADE_H_ #define MODELFITFACADE_H_ #include "ModelMinimizer.h" #include "ModelEstimator.h" #include "core/Model1D.h" class ModelFitFacade { private: shared_ptr data; shared_ptr model1d; shared_ptr estimator; shared_ptr minimizer; EstimatorOptions estimator_options; public: ModelFitFacade(); virtual ~ModelFitFacade(); shared_ptr getData() const; shared_ptr getEstimator() const; const EstimatorOptions& getEstimatorOptions() const; shared_ptr getMinimizer() const; shared_ptr getModel1d() const; void setData(shared_ptr data_); void setEstimator(shared_ptr estimator_); void setEstimatorOptions(const EstimatorOptions& est_opt_); void setMinimizer(shared_ptr minimizer_); void setModel1d(shared_ptr model1d_); ModelFitResult Fit(); }; #endif /* MODELFITFACADE_H_ */