Jafar
|
00001 /* $Id$ */ 00002 00003 #include <dseg/Predictor.hpp> 00004 #include <jmath/random.hpp> 00005 00006 namespace jafar { 00007 namespace dseg { 00014 class RandomStaticPredictor : public Predictor { 00015 public: 00016 RandomStaticPredictor( double _posError, double _angleError, double _angleErrorCoef = 0.1, int _seedPos = 1242, int _seedAngle = 4212 ); 00017 virtual SegmentHypothesis* predictionFor( const SegmentHypothesis* ) const; 00018 private: 00019 double m_posError, m_angleError; 00020 jmath::NormalDistribution m_randomPos; 00021 jmath::NormalDistribution m_randomAngle; 00022 }; 00023 } 00024 } 00025 00026 00027 00028 00029 00030
Generated on Wed Oct 15 2014 00:37:18 for Jafar by doxygen 1.7.6.1 |