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