00001 #ifndef INDII_ML_ODE_FUNCTIONMODEL_HPP
00002 #define INDII_ML_ODE_FUNCTIONMODEL_HPP
00003
00004 #include "boost/serialization/serialization.hpp"
00005
00006 namespace indii {
00007 namespace ml {
00008 namespace ode {
00009
00010
00011
00012
00013
00014
00015
00016 class FunctionModel {
00017 public:
00018
00019
00020
00021 virtual ~FunctionModel();
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 virtual double evaluate(const double t, const double y[]) = 0;
00032
00033 private:
00034
00035
00036
00037 template<class Archive>
00038 void serialize(Archive& ar, const unsigned int version);
00039
00040
00041
00042
00043 friend class boost::serialization::access;
00044
00045 };
00046
00047 }
00048 }
00049 }
00050
00051 template<class Archive>
00052 void indii::ml::ode::FunctionModel::serialize(Archive& ar,
00053 const unsigned int version) {
00054
00055 }
00056
00057 #endif