#include <Map2DPosValue.h>
Public Member Functions | |
virtual double | distanceTo (SharedPointer< Map2DPosValue > dest) |
virtual SharedPointer < Map2DPosValue > | duplicate () |
virtual bool | equals (SharedPointer< IVariableValue > obj) |
virtual int | getIndex () |
virtual double | getProb () |
virtual string | getValueName () |
virtual string | getVariableName () |
virtual bool | isSamePos (SharedPointer< Map2DPosValue > dest) |
Map2DPosValue (string varname, int x, int y, int height, double prob=0.0) | |
virtual string | ToString () |
virtual | ~Map2DPosValue (void) |
Public Attributes | |
int | height |
double | prob |
int | x |
int | y |
Private Attributes | |
string | varName |
Definition at line 13 of file Map2DPosValue.h.
Map2DPosValue::Map2DPosValue | ( | string | varname, |
int | x, | ||
int | y, | ||
int | height, | ||
double | prob = 0.0 |
||
) |
Definition at line 8 of file Map2DPosValue.cpp.
Map2DPosValue::~Map2DPosValue | ( | void | ) | [virtual] |
Definition at line 17 of file Map2DPosValue.cpp.
double Map2DPosValue::distanceTo | ( | SharedPointer< Map2DPosValue > | dest | ) | [virtual] |
Definition at line 67 of file Map2DPosValue.cpp.
SharedPointer< Map2DPosValue > Map2DPosValue::duplicate | ( | ) | [virtual] |
Definition at line 46 of file Map2DPosValue.cpp.
bool Map2DPosValue::equals | ( | SharedPointer< IVariableValue > | obj | ) | [virtual] |
Implements momdp::IVariableValue.
Definition at line 76 of file Map2DPosValue.cpp.
int Map2DPosValue::getIndex | ( | ) | [virtual] |
Implements momdp::IVariableValue.
Definition at line 27 of file Map2DPosValue.cpp.
double Map2DPosValue::getProb | ( | ) | [virtual] |
Implements momdp::IVariableValue.
Definition at line 41 of file Map2DPosValue.cpp.
string Map2DPosValue::getValueName | ( | ) | [virtual] |
Implements momdp::IVariableValue.
Definition at line 36 of file Map2DPosValue.cpp.
string Map2DPosValue::getVariableName | ( | ) | [virtual] |
Implements momdp::IVariableValue.
Definition at line 32 of file Map2DPosValue.cpp.
bool Map2DPosValue::isSamePos | ( | SharedPointer< Map2DPosValue > | dest | ) | [virtual] |
Definition at line 51 of file Map2DPosValue.cpp.
string Map2DPosValue::ToString | ( | ) | [virtual] |
Reimplemented from momdp::MObject.
Definition at line 21 of file Map2DPosValue.cpp.
Definition at line 24 of file Map2DPosValue.h.
double momdp::Map2DPosValue::prob |
Definition at line 21 of file Map2DPosValue.h.
string momdp::Map2DPosValue::varName [private] |
Definition at line 18 of file Map2DPosValue.h.
Definition at line 22 of file Map2DPosValue.h.
Definition at line 23 of file Map2DPosValue.h.