#ifndef LIN1D_ESTIMATER #define LIN1D_ESTIMATER #include "pre_estimater.hpp" #include #include namespace opt_utilities { template class lin1d_estimater :public pre_estimater,optvec,optvec,T,std::string> { private: const std::string model_id; private: lin1d_estimater() :model_id(lin1d().get_type_name()) {} lin1d_estimater do_clone()const { return new lin1d_estimater(*this); } void do_estimate(fitter,optvec,optvec,T,std::string>& fit)const { if(model_id!=fit.get_model().get_type_name()) { return; } } }; } #endif