#include <Map2DPosVar.h>
Public Member Functions | |
virtual vector< SharedPointer < Map2DPosValue > > | getAdjPos (SharedPointer< Map2DPosValue > src, double range) |
virtual vector< SharedPointer < Map2DPosValue > > | getDestSidePosPerpendicularToMovement (SharedPointer< Map2DPosValue > src, SharedPointer< Map2DPosValue > dest) |
virtual vector< SharedPointer < IVariableValue > > | getInitialValues () |
virtual int | getNumValues () |
virtual SharedPointer < IVariableValue > | getValueByName (string valName) |
virtual vector< SharedPointer < IVariableValue > > | getValues () |
virtual string | getVariableName () |
virtual void | setInitPos (SharedPointer< Map2DPosValue > pos) |
Public Attributes | |
int | height |
int | width |
Protected Member Functions | |
Map2DPosVar (string name, int width, int height) | |
virtual | ~Map2DPosVar (void) |
Private Attributes | |
SharedPointer< Map2DPosValue > | initPos |
string | variableName |
Friends | |
class | Map2D |
Definition at line 17 of file Map2DPosVar.h.
Map2DPosVar::Map2DPosVar | ( | string | name, |
int | width, | ||
int | height | ||
) | [protected] |
Definition at line 4 of file Map2DPosVar.cpp.
Map2DPosVar::~Map2DPosVar | ( | void | ) | [protected, virtual] |
Definition at line 11 of file Map2DPosVar.cpp.
vector< SharedPointer< Map2DPosValue > > Map2DPosVar::getAdjPos | ( | SharedPointer< Map2DPosValue > | src, |
double | range | ||
) | [virtual] |
Definition at line 65 of file Map2DPosVar.cpp.
vector< SharedPointer< Map2DPosValue > > Map2DPosVar::getDestSidePosPerpendicularToMovement | ( | SharedPointer< Map2DPosValue > | src, |
SharedPointer< Map2DPosValue > | dest | ||
) | [virtual] |
Definition at line 106 of file Map2DPosVar.cpp.
vector< SharedPointer< IVariableValue > > Map2DPosVar::getInitialValues | ( | ) | [virtual] |
Implements momdp::IVariable.
Definition at line 49 of file Map2DPosVar.cpp.
int Map2DPosVar::getNumValues | ( | ) | [virtual] |
Implements momdp::IVariable.
Definition at line 56 of file Map2DPosVar.cpp.
SharedPointer< IVariableValue > Map2DPosVar::getValueByName | ( | string | valName | ) | [virtual] |
Implements momdp::IVariable.
Definition at line 35 of file Map2DPosVar.cpp.
vector< SharedPointer< IVariableValue > > Map2DPosVar::getValues | ( | ) | [virtual] |
Implements momdp::IVariable.
Definition at line 21 of file Map2DPosVar.cpp.
string Map2DPosVar::getVariableName | ( | ) | [virtual] |
Implements momdp::IVariable.
Definition at line 16 of file Map2DPosVar.cpp.
void Map2DPosVar::setInitPos | ( | SharedPointer< Map2DPosValue > | pos | ) | [virtual] |
Definition at line 60 of file Map2DPosVar.cpp.
friend class Map2D [friend] |
Definition at line 19 of file Map2DPosVar.h.
Definition at line 29 of file Map2DPosVar.h.
Definition at line 22 of file Map2DPosVar.h.
string momdp::Map2DPosVar::variableName [private] |
Definition at line 21 of file Map2DPosVar.h.
Definition at line 30 of file Map2DPosVar.h.