NoisyVariableRel.h
Go to the documentation of this file.
00001 #ifndef NoisyVariableRel_H
00002 #define NoisyVariableRel_H
00003 
00004 
00005 #include <vector>
00006 #include <string>
00007 #include "MObject.h"
00008 #include "IVariableValue.h"
00009 #include "IVariable.h"
00010 #include "VariableValue.h"
00011 #include "Variable.h"
00012 #include "VariableRelation.h"
00013 #include "Map2DPosValue.h"
00014 #include "Map2DPosVar.h"
00015 using namespace std;
00016 using namespace momdp;
00017 
00018 namespace momdp
00019 {
00020         // generic class for variable, holds user defined variable value
00021         class NoisyVariableRel: public VariableRelation
00022         {
00023         private:
00024                 SharedPointer<IVariableValue> noisyValue;
00025                 SharedPointer<IVariableValue> otherValue;
00026                 double noisyProbability;
00027                 SharedPointer<VariableRelation> origRel;
00028 
00029         public:
00030                 
00031                 NoisyVariableRel(SharedPointer<VariableRelation> origRel, SharedPointer<IVariableValue> noisyValue, double noisyProbability, SharedPointer<IVariableValue> otherValue);
00032                         
00033                 virtual ~NoisyVariableRel(void);
00034                 
00035         
00036                 virtual vector<SharedPointer<RelEntry> > getProb(map<string, SharedPointer<IVariableValue> > sourceVals) ;
00037 
00038         };
00039 
00040 }
00041 
00042 #endif
00043 


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