00001
00002
00003 #include <dseg/Predictor.hpp>
00004
00005 #include <map>
00006
00007 namespace jafar {
00008 namespace dseg {
00009 class SegmentsSet;
00015 class ConstantVelocityPredictor : public Predictor {
00016 public:
00017 ConstantVelocityPredictor( double _translationError, double _rotationError );
00018 virtual SegmentHypothesis* predictionFor( const SegmentHypothesis* ) const;
00019 void updatePrediction( const SegmentsSet& segmentSet );
00020 private:
00021 struct Info;
00022 double m_translationError, m_rotationError;
00023 mutable std::map< unsigned int, Info*> m_infos;
00024 };
00025 }
00026 }