diff options
Diffstat (limited to 'core/constrained_model.hpp')
-rw-r--r-- | core/constrained_model.hpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/core/constrained_model.hpp b/core/constrained_model.hpp deleted file mode 100644 index 378cabd..0000000 --- a/core/constrained_model.hpp +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef CONSTRAINED_MODEL_HPP -#define CONSTRAINED_MODEL_HPP -#include "fitter.hpp" - -namespace opt_utilities -{ - template <typename Ty,typename Tx,typename Tp,typename Tstr=std::string> - class constrained_model - :public model<Ty,Tx,Tp,Tstr> - { - public: - bool meet_constraint(const Tp& p)const - { - return do_meet_constraint(p); - } - private: - virtual bool do_meet_constraint(const Tp& p)const=0; - }; - -} - -#endif |