00001 #ifndef Move2DPathFollowerActPosVarRel_H 00002 #define Move2DPathFollowerActPosVarRel_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 #include "Map2DPath.h" 00016 using namespace std; 00017 using namespace momdp; 00018 00019 namespace momdp 00020 { 00021 // generic class for variable, holds user defined variable value 00022 class Move2DPathFollowerActPosVarRel: public VariableRelation 00023 { 00024 private: 00025 SharedPointer<Map2DPath> path; 00026 SharedPointer<Map2DPosVar> posVar; 00027 00028 public: 00029 00030 Move2DPathFollowerActPosVarRel(SharedPointer<Map2DPosVar> robotPosVar, SharedPointer<Map2DPath> path); 00031 virtual ~Move2DPathFollowerActPosVarRel(void); 00032 00033 virtual vector<SharedPointer<RelEntry> > getProb(map<string, SharedPointer<IVariableValue> > sourceVals) ; 00034 00035 }; 00036 00037 } 00038 00039 #endif 00040