14 : time_(0), attribute_(attribute), estimator_(bm.clone()) {
53 if (time <
time_)
return;
59 if (time <
time_)
return;
const Attribute & getAttribute() const
void update(const pbl::PDF &z, const Time &time)
virtual double getLikelihood(const pbl::PDF &pdf) const
Property(const Attribute &attribute, const IStateEstimator &bm, const ObjectID &object_id=-1)
Base class for all state estimators used by the world model.
virtual void reset()=0
Resets the internal state of the estimator to its initial value.
virtual void update(const pbl::PDF &z, const Time &time)=0
Updates the internal state based on measurement z.
IStateEstimator * estimator_
std::string toString(const std::string &prefix="") const
const pbl::PDF & getValue() const
Property & operator=(const Property &other)
virtual std::string toString(const std::string &indent="") const =0
void propagate(const Time &time)
const IStateEstimator & getEstimator() const
virtual void propagate(const Time &time)=0
Propagates the internal state to Time time.
virtual double getLikelihood(const PDF &pdf) const =0
virtual const pbl::PDF & getValue() const =0
Returns the current estimated state value.
virtual IStateEstimator * clone() const =0