00001
00002 #ifndef DDF_UPD_CONST_SPEED_HPP
00003 #define DDF_UPD_CONST_SPEED_HPP
00004
00005 #include "ddf/upd_lin_pred.hpp"
00006 #include "ddf/tools.hpp"
00007
00008 namespace jafar
00009 {
00010 namespace ddfsimu
00011 {
00012 using namespace jafar::ddf;
00013
00014 class CstSpeedPredParams : public ParametersGeneric
00015 {
00016 public:
00017 int other_parameters;
00018 };
00019
00020
00025 class Upd_const_speed : public Upd_lin_pred_model<ParametersGeneric>
00026 {
00027 typedef ParametersGeneric PARAMS;
00028
00029 unsigned short m_dim;
00030
00031 public:
00032
00033 Upd_const_speed(unsigned short dim, unsigned short sv_size, unsigned short q_size);
00034 Upd_const_speed(unsigned short dim, unsigned short sv_size, unsigned short q_size, VEC const& var);
00035 virtual ~Upd_const_speed(){}
00036
00037
00038 void Init(VEC const& var);
00039 void SetModelParams(time const& from, time const& horizon);
00040 void UpdateF(PARAMS ¶ms);
00041 void UpdateG(PARAMS ¶ms);
00042 void Updateq(PARAMS ¶ms) { JFR_DEBUG("Update q not yet implemented"); }
00043 void Updateq(VEC const& pnoise) { q = pnoise; }
00044 };
00045
00046 }
00047 }
00048 #endif