#include <envTime.h>
Public Member Functions | |
bool | AreEquivalent (int StateID1, int StateID2) |
void | ConvertStateIDPathintoXYThetaPath (vector< int > *stateIDPath, vector< SBPL_4Dpt_t > *xythetaPath) |
void | dumpStatesToFile () |
void | GetCoordFromState (int stateID, int &x, int &y, int &theta, int &t) const |
EnvNAVXYTHETATIMELATHashEntry_t * | getEntryFromID (int id) |
virtual int | GetFromToHeuristic (int FromStateID, int ToStateID) |
virtual int | GetGoalHeuristic (int stateID) |
virtual void | GetPreds (int TargetStateID, vector< int > *PredIDV, vector< int > *CostV) |
void | GetPredsofChangedEdges (vector< nav2dcell_t > const *changedcellsV, vector< int > *preds_of_changededgesIDV) |
virtual int | GetStartHeuristic (int stateID) |
int | GetStateFromCoord (int x, int y, int theta, int t) |
virtual void | GetSuccs (int SourceStateID, vector< int > *SuccIDV, vector< int > *CostV, vector< EnvNAVXYTHETATIMELATAction_t * > *actionindV=NULL) |
void | GetSuccsofChangedEdges (vector< nav2dcell_t > const *changedcellsV, vector< int > *succs_of_changededgesIDV) |
void | PrintState (int stateID, bool bVerbose, FILE *fOut=NULL) |
virtual void | PrintVars () |
virtual void | SetAllActionsandAllOutcomes (CMDPSTATE *state) |
bool | setDynamicObstacles (vector< SBPL_DynamicObstacle_t > dynObs, bool reset_states=true) |
int | SetGoal (double x, double y, double theta) |
void | SetGoalTolerance (double tol_x, double tol_y, double tol_theta) |
int | SetStart (double x, double y, double theta, double startTime) |
virtual int | SizeofCreatedEnv () |
~EnvironmentNAVXYTHETATIMELAT () | |
Protected Member Functions | |
EnvNAVXYTHETATIMELATHashEntry_t * | CreateNewHashEntry (int X, int Y, int Theta, int T) |
unsigned int | GETHASHBIN (unsigned int X, unsigned int Y, unsigned int Theta, unsigned int T) |
EnvNAVXYTHETATIMELATHashEntry_t * | GetHashEntry (int X, int Y, int Theta, int T) |
virtual void | InitializeEnvironment () |
void | PrintHashTableHist () |
Protected Attributes | |
vector < EnvNAVXYTHETATIMELATHashEntry_t * > * | Coord2StateIDHashTable |
int | HashTableSize |
vector < EnvNAVXYTHETATIMELATHashEntry_t * > | StateID2CoordTable |
Definition at line 364 of file envTime.h.
EnvironmentNAVXYTHETATIMELAT::~EnvironmentNAVXYTHETATIMELAT | ( | ) |
Definition at line 96 of file envTime.cpp.
bool EnvironmentNAVXYTHETATIMELAT::AreEquivalent | ( | int | StateID1, | |
int | StateID2 | |||
) | [inline] |
void EnvironmentNAVXYTHETATIMELAT::ConvertStateIDPathintoXYThetaPath | ( | vector< int > * | stateIDPath, | |
vector< SBPL_4Dpt_t > * | xythetaPath | |||
) | [virtual] |
Implements DiscreteSpaceTimeInformation.
Definition at line 2829 of file envTime.cpp.
EnvNAVXYTHETATIMELATHashEntry_t * EnvironmentNAVXYTHETATIMELAT::CreateNewHashEntry | ( | int | X, | |
int | Y, | |||
int | Theta, | |||
int | T | |||
) | [protected] |
Definition at line 3191 of file envTime.cpp.
void EnvironmentNAVXYTHETATIMELAT::dumpStatesToFile | ( | ) |
Definition at line 3597 of file envTime.cpp.
void EnvironmentNAVXYTHETATIMELAT::GetCoordFromState | ( | int | stateID, | |
int & | x, | |||
int & | y, | |||
int & | theta, | |||
int & | t | |||
) | const [virtual] |
Implements DiscreteSpaceTimeInformation.
Definition at line 2799 of file envTime.cpp.
EnvNAVXYTHETATIMELATHashEntry_t * EnvironmentNAVXYTHETATIMELAT::getEntryFromID | ( | int | id | ) | [virtual] |
Implements EnvironmentNAVXYTHETATIMELATTICE.
Definition at line 3114 of file envTime.cpp.
int EnvironmentNAVXYTHETATIMELAT::GetFromToHeuristic | ( | int | FromStateID, | |
int | ToStateID | |||
) | [virtual] |
Implements EnvironmentNAVXYTHETATIMELATTICE.
Definition at line 3606 of file envTime.cpp.
int EnvironmentNAVXYTHETATIMELAT::GetGoalHeuristic | ( | int | stateID | ) | [virtual] |
Implements EnvironmentNAVXYTHETATIMELATTICE.
Definition at line 3635 of file envTime.cpp.
unsigned int EnvironmentNAVXYTHETATIMELAT::GETHASHBIN | ( | unsigned int | X, | |
unsigned int | Y, | |||
unsigned int | Theta, | |||
unsigned int | T | |||
) | [protected] |
Definition at line 3566 of file envTime.cpp.
EnvNAVXYTHETATIMELATHashEntry_t * EnvironmentNAVXYTHETATIMELAT::GetHashEntry | ( | int | X, | |
int | Y, | |||
int | Theta, | |||
int | T | |||
) | [protected] |
Definition at line 3148 of file envTime.cpp.
void EnvironmentNAVXYTHETATIMELAT::GetPreds | ( | int | TargetStateID, | |
vector< int > * | PredIDV, | |||
vector< int > * | CostV | |||
) | [virtual] |
Implements EnvironmentNAVXYTHETATIMELATTICE.
Definition at line 3326 of file envTime.cpp.
void EnvironmentNAVXYTHETATIMELAT::GetPredsofChangedEdges | ( | vector< nav2dcell_t > const * | changedcellsV, | |
vector< int > * | preds_of_changededgesIDV | |||
) | [virtual] |
Implements EnvironmentNAVXYTHETATIMELATTICE.
Definition at line 3468 of file envTime.cpp.
int EnvironmentNAVXYTHETATIMELAT::GetStartHeuristic | ( | int | stateID | ) | [virtual] |
Implements EnvironmentNAVXYTHETATIMELATTICE.
Definition at line 3679 of file envTime.cpp.
int EnvironmentNAVXYTHETATIMELAT::GetStateFromCoord | ( | int | x, | |
int | y, | |||
int | theta, | |||
int | t | |||
) |
Definition at line 2819 of file envTime.cpp.
void EnvironmentNAVXYTHETATIMELAT::GetSuccs | ( | int | SourceStateID, | |
vector< int > * | SuccIDV, | |||
vector< int > * | CostV, | |||
vector< EnvNAVXYTHETATIMELATAction_t * > * | actionindV = NULL | |||
) | [virtual] |
Implements EnvironmentNAVXYTHETATIMELATTICE.
Definition at line 3242 of file envTime.cpp.
void EnvironmentNAVXYTHETATIMELAT::GetSuccsofChangedEdges | ( | vector< nav2dcell_t > const * | changedcellsV, | |
vector< int > * | succs_of_changededgesIDV | |||
) | [virtual] |
Implements EnvironmentNAVXYTHETATIMELATTICE.
Definition at line 3501 of file envTime.cpp.
void EnvironmentNAVXYTHETATIMELAT::InitializeEnvironment | ( | ) | [protected, virtual] |
Implements EnvironmentNAVXYTHETATIMELATTICE.
Definition at line 3538 of file envTime.cpp.
void EnvironmentNAVXYTHETATIMELAT::PrintHashTableHist | ( | ) | [protected] |
Definition at line 3572 of file envTime.cpp.
void EnvironmentNAVXYTHETATIMELAT::PrintState | ( | int | stateID, | |
bool | bVerbose, | |||
FILE * | fOut = NULL | |||
) |
Definition at line 3118 of file envTime.cpp.
virtual void EnvironmentNAVXYTHETATIMELAT::PrintVars | ( | ) | [inline, virtual] |
Reimplemented from EnvironmentNAVXYTHETATIMELATTICE.
void EnvironmentNAVXYTHETATIMELAT::SetAllActionsandAllOutcomes | ( | CMDPSTATE * | state | ) | [virtual] |
Implements EnvironmentNAVXYTHETATIMELATTICE.
Definition at line 3393 of file envTime.cpp.
bool EnvironmentNAVXYTHETATIMELAT::setDynamicObstacles | ( | vector< SBPL_DynamicObstacle_t > | dynObs, | |
bool | reset_states = true | |||
) | [virtual] |
Implements DiscreteSpaceTimeInformation.
Definition at line 3085 of file envTime.cpp.
int EnvironmentNAVXYTHETATIMELAT::SetGoal | ( | double | x, | |
double | y, | |||
double | theta | |||
) | [virtual] |
Implements DiscreteSpaceTimeInformation.
Definition at line 2935 of file envTime.cpp.
void EnvironmentNAVXYTHETATIMELAT::SetGoalTolerance | ( | double | tol_x, | |
double | tol_y, | |||
double | tol_theta | |||
) | [inline] |
int EnvironmentNAVXYTHETATIMELAT::SetStart | ( | double | x, | |
double | y, | |||
double | theta, | |||
double | startTime | |||
) | [virtual] |
Implements DiscreteSpaceTimeInformation.
Definition at line 3037 of file envTime.cpp.
int EnvironmentNAVXYTHETATIMELAT::SizeofCreatedEnv | ( | ) | [virtual] |
Definition at line 3726 of file envTime.cpp.
vector<EnvNAVXYTHETATIMELATHashEntry_t*>* EnvironmentNAVXYTHETATIMELAT::Coord2StateIDHashTable [protected] |
int EnvironmentNAVXYTHETATIMELAT::HashTableSize [protected] |
vector<EnvNAVXYTHETATIMELATHashEntry_t*> EnvironmentNAVXYTHETATIMELAT::StateID2CoordTable [protected] |