00001
00002 #ifndef DDF_UPD_TARGETS_HPP
00003 #define DDF_UPD_TARGETS_HPP
00004
00005
00006 #include "ddf/upd_lin_pred.hpp"
00007 #include "ddf/ctime.hpp"
00008
00009 namespace jafar
00010 {
00011 namespace ddfsimu
00012 {
00013 using namespace jafar::ddf;
00019 class Upd_targets : public Upd_lin_pred_model<ParametersGeneric>
00020 {
00021 typedef ParametersGeneric PARAMS;
00022 unsigned short m_num_robots;
00023 unsigned short m_rob_id;
00024 unsigned short m_targets;
00025
00026 public:
00027
00028 Upd_targets(unsigned short sv_size, unsigned short num_robots, unsigned short rob_id, unsigned short q_size, VEC const& var);
00029 virtual ~Upd_targets() {}
00030
00031 void UpdateG(PARAMS ¶ms);
00032 void UpdateF(PARAMS ¶ms);
00033 void SetModelParams(time const& from, time const& horizon);
00034 void SetModelParams(time const& h);
00035 void Updateq(PARAMS ¶ms) { JFR_DEBUG("Update q not yet implemented"); }
00036 void Updateq(VEC const& pnoise) { q = pnoise; }
00037 };
00038
00039 }
00040 }
00041 #endif