#include <sipp.h>
Public Member Functions | |
void | ClearStates () |
void | ConvertStateIDPathintoXYThetaPath (vector< int > *stateIDPath, vector< SBPL_4Dpt_t > *xythetaPath) |
void | dumpDynamicObstaclesToFile () |
void | dumpEnvironmentToFile () |
void | dumpStatesToFile () |
void | GetCoordFromState (int stateID, int &x, int &y, int &theta, int &t) const |
envSIPPLatHashEntry_t * | getEntryFromID (int id) |
void | getExpansions (vector< SBPL_4Dpt_t > *p) |
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< envSIPPLatAction_t * > *actionV=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 () |
~EnvSIPPLat () | |
Protected Member Functions | |
envSIPPLatHashEntry_t * | CreateNewHashEntry (int X, int Y, int Theta, int interval, int T) |
unsigned int | GETHASHBIN (unsigned int X, unsigned int Y, unsigned int Theta, unsigned int interval) |
envSIPPLatHashEntry_t * | GetHashEntry (int X, int Y, int Theta, int interval, int T) |
virtual void | InitializeEnvironment () |
void | PrintHashTableHist () |
Protected Attributes | |
vector< envSIPPLatHashEntry_t * > * | Coord2StateIDHashTable |
int | HashTableSize |
vector< envSIPPLatHashEntry_t * > | StateID2CoordTable |
Definition at line 367 of file sipp.h.
void EnvSIPPLat::ConvertStateIDPathintoXYThetaPath | ( | vector< int > * | stateIDPath, | |
vector< SBPL_4Dpt_t > * | xythetaPath | |||
) | [virtual] |
Implements DiscreteSpaceTimeInformation.
envSIPPLatHashEntry_t * EnvSIPPLat::CreateNewHashEntry | ( | int | X, | |
int | Y, | |||
int | Theta, | |||
int | interval, | |||
int | T | |||
) | [protected] |
void EnvSIPPLat::GetCoordFromState | ( | int | stateID, | |
int & | x, | |||
int & | y, | |||
int & | theta, | |||
int & | t | |||
) | const [virtual] |
Implements DiscreteSpaceTimeInformation.
envSIPPLatHashEntry_t * EnvSIPPLat::getEntryFromID | ( | int | id | ) | [virtual] |
Implements EnvSIPPLattice.
void EnvSIPPLat::getExpansions | ( | vector< SBPL_4Dpt_t > * | p | ) | [virtual] |
Reimplemented from DiscreteSpaceTimeInformation.
int EnvSIPPLat::GetFromToHeuristic | ( | int | FromStateID, | |
int | ToStateID | |||
) | [virtual] |
Implements EnvSIPPLattice.
int EnvSIPPLat::GetGoalHeuristic | ( | int | stateID | ) | [virtual] |
Implements EnvSIPPLattice.
unsigned int EnvSIPPLat::GETHASHBIN | ( | unsigned int | X, | |
unsigned int | Y, | |||
unsigned int | Theta, | |||
unsigned int | interval | |||
) | [protected] |
envSIPPLatHashEntry_t * EnvSIPPLat::GetHashEntry | ( | int | X, | |
int | Y, | |||
int | Theta, | |||
int | interval, | |||
int | T | |||
) | [protected] |
void EnvSIPPLat::GetPreds | ( | int | TargetStateID, | |
vector< int > * | PredIDV, | |||
vector< int > * | CostV | |||
) | [virtual] |
Implements EnvSIPPLattice.
void EnvSIPPLat::GetPredsofChangedEdges | ( | vector< nav2dcell_t > const * | changedcellsV, | |
vector< int > * | preds_of_changededgesIDV | |||
) | [virtual] |
Implements EnvSIPPLattice.
int EnvSIPPLat::GetStartHeuristic | ( | int | stateID | ) | [virtual] |
Implements EnvSIPPLattice.
int EnvSIPPLat::GetStateFromCoord | ( | int | x, | |
int | y, | |||
int | theta, | |||
int | t | |||
) |
void EnvSIPPLat::GetSuccs | ( | int | SourceStateID, | |
vector< int > * | SuccIDV, | |||
vector< int > * | CostV, | |||
vector< envSIPPLatAction_t * > * | actionV = NULL | |||
) | [virtual] |
Implements EnvSIPPLattice.
void EnvSIPPLat::GetSuccsofChangedEdges | ( | vector< nav2dcell_t > const * | changedcellsV, | |
vector< int > * | succs_of_changededgesIDV | |||
) | [virtual] |
Implements EnvSIPPLattice.
void EnvSIPPLat::InitializeEnvironment | ( | ) | [protected, virtual] |
Implements EnvSIPPLattice.
void EnvSIPPLat::PrintState | ( | int | stateID, | |
bool | bVerbose, | |||
FILE * | fOut = NULL | |||
) |
virtual void EnvSIPPLat::PrintVars | ( | ) | [inline, virtual] |
Reimplemented from EnvSIPPLattice.
void EnvSIPPLat::SetAllActionsandAllOutcomes | ( | CMDPSTATE * | state | ) | [virtual] |
Implements EnvSIPPLattice.
bool EnvSIPPLat::setDynamicObstacles | ( | vector< SBPL_DynamicObstacle_t > | dynObs, | |
bool | reset_states = true | |||
) | [virtual] |
Implements DiscreteSpaceTimeInformation.
int EnvSIPPLat::SetGoal | ( | double | x, | |
double | y, | |||
double | theta | |||
) | [virtual] |
Implements DiscreteSpaceTimeInformation.
void EnvSIPPLat::SetGoalTolerance | ( | double | tol_x, | |
double | tol_y, | |||
double | tol_theta | |||
) | [inline] |
int EnvSIPPLat::SetStart | ( | double | x, | |
double | y, | |||
double | theta, | |||
double | startTime | |||
) | [virtual] |
Implements DiscreteSpaceTimeInformation.
vector<envSIPPLatHashEntry_t*>* EnvSIPPLat::Coord2StateIDHashTable [protected] |
int EnvSIPPLat::HashTableSize [protected] |
vector<envSIPPLatHashEntry_t*> EnvSIPPLat::StateID2CoordTable [protected] |