Go to the documentation of this file.00001
00013 #include "jmath/jblas.hpp"
00014
00015 #include "rtslam/gaussian.hpp"
00016
00017 #ifndef EXPECTATION_HPP_
00018 #define EXPECTATION_HPP_
00019
00020 namespace jafar {
00021 namespace rtslam {
00022
00023 using namespace jmath;
00024 using namespace jblas;
00025
00026
00041 class Expectation: public Gaussian {
00042
00043 public:
00044
00045
00049 Expectation(const size_t _size, const size_t _size_nonobs = 0);
00050
00051 vec nonObs;
00052 bool visible;
00053 double infoGain;
00054
00055 friend std::ostream& operator <<(std::ostream & s, Expectation const & e_) {
00056 s << (Gaussian&)e_ << std::endl;
00057 s << " .nonObs : " << e_.nonObs << " | .infoGain : " << e_.infoGain;
00058 return s;
00059 }
00060 };
00061
00062 }
00063 }
00064
00065 #endif