/* * ParametrizationModel.h * * Created on: Apr 2, 2013 * Author: steve */ #ifndef PARAMETRIZATIONMODEL_H_ #define PARAMETRIZATIONMODEL_H_ #include "SharedPtr.h" class Model; class ModelPar; class ModelParSet; /** * A #ParametrizationModel is a special type of #Model. It functions as a * parametrization to an existing parameter set of another #Model, but * describes these parameters as a function of the domain variables of the * actual fit function. So it behaves just like a #Model with the addition that * it requires a #ModelParSet in the constructor, which will be adjusted. */ class ParametrizationModel { private: shared_ptr model; shared_ptr model_par; public: ParametrizationModel(shared_ptr model_); virtual ~ParametrizationModel(); void parametrize(const double *x); void setModelPar(shared_ptr model_par_); const shared_ptr getModelPar() const; shared_ptr getModel(); }; #endif /* PARAMETRIZATIONMODEL_H_ */