ObservationProbabilities.h
Go to the documentation of this file.
00001 #ifndef ObservationProbabilities_H
00002 #define ObservationProbabilities_H
00003 
00004 #include "Const.h"
00005 #include "Observations.h"
00006 #include "Actions.h"
00007 #include "States.h"
00008 #include "MathLib.h"
00009 #include "VariableRelation.h"
00010 
00011 using namespace std;
00012 using namespace momdp;
00013 namespace momdp 
00014 {
00015         class MOMDP;
00016         class ObservationProbabilities : public MObject
00017         {
00018                 friend class MOMDP;
00019         private:
00020                 vector<vector<SharedPointer<SparseMatrix> > > matrix;
00021                 vector<vector<SharedPointer<SparseMatrix> > > matrixTr;
00022 
00023         public:
00024                 ObservationProbabilities(void);
00025                 virtual ~ObservationProbabilities(void);
00026 
00027                 REAL_VALUE prob(Observations::iterator& o, States::iterator& x, States::iterator& y, Actions::iterator& a);
00028 
00029 
00030                 virtual SharedPointer<SparseMatrix> getMatrix(int a, int x);
00031                 virtual SharedPointer<SparseMatrix> getMatrixTr(int a, int x);
00032                 
00033         };
00034 }
00035 
00036 #endif
00037 
00038 
00039 
00040 


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:29