EnvironmentXXX Class Reference

this is just an example of environment and can be used (copy and paste) for creating a more complex environment More...

#include <environment_XXX.h>

Inheritance diagram for EnvironmentXXX:
Inheritance graph
[legend]

List of all members.

Public Member Functions

int GetFromToHeuristic (int FromStateID, int ToStateID)
 see comments on the same function in the parent class
int GetGoalHeuristic (int stateID)
 see comments on the same function in the parent class
void GetPreds (int TargetStateID, vector< int > *PredIDV, vector< int > *CostV)
 see comments on the same function in the parent class
int GetStartHeuristic (int stateID)
 see comments on the same function in the parent class
void GetSuccs (int SourceStateID, vector< int > *SuccIDV, vector< int > *CostV)
 see comments on the same function in the parent class
bool InitializeEnv (const char *sEnvFile)
 see comments on the same function in the parent class
bool InitializeMDPCfg (MDPConfig *MDPCfg)
 see comments on the same function in the parent class
void PrintEnv_Config (FILE *fOut)
 see comments on the same function in the parent class
void PrintState (int stateID, bool bVerbose, FILE *fOut=NULL)
 see comments on the same function in the parent class
void SetAllActionsandAllOutcomes (CMDPSTATE *state)
 see comments on the same function in the parent class
void SetAllPreds (CMDPSTATE *state)
 see comments on the same function in the parent class
int SizeofCreatedEnv ()
 see comments on the same function in the parent class
 ~EnvironmentXXX ()

Private Member Functions

void AddAllOutcomes (unsigned int SourceX1, unsigned int SourceX2, unsigned int SourceX3, unsigned int SourceX4, CMDPACTION *action, int cost)
void ComputeHeuristicValues ()
EnvXXXHashEntry_tCreateNewHashEntry (unsigned int X1, unsigned int X2, unsigned int X3, unsigned int X4)
void CreateStartandGoalStates ()
unsigned int GETHASHBIN (unsigned int X1, unsigned int X2, unsigned int X3, unsigned int X4)
EnvXXXHashEntry_tGetHashEntry (unsigned int X1, unsigned int X2, unsigned int X3, unsigned int X4)
void InitializeEnvConfig ()
void InitializeEnvironment ()
void PrintHashTableHist ()
void ReadConfiguration (FILE *fCfg)

Private Attributes

EnvironmentXXX_t EnvXXX
EnvXXXConfig_t EnvXXXCfg

Detailed Description

this is just an example of environment and can be used (copy and paste) for creating a more complex environment

Definition at line 82 of file environment_XXX.h.


Constructor & Destructor Documentation

EnvironmentXXX::~EnvironmentXXX (  )  [inline]

Definition at line 127 of file environment_XXX.h.


Member Function Documentation

void EnvironmentXXX::AddAllOutcomes ( unsigned int  SourceX1,
unsigned int  SourceX2,
unsigned int  SourceX3,
unsigned int  SourceX4,
CMDPACTION action,
int  cost 
) [private]

Definition at line 229 of file environment_XXX.cpp.

void EnvironmentXXX::ComputeHeuristicValues (  )  [private]

Definition at line 271 of file environment_XXX.cpp.

EnvXXXHashEntry_t * EnvironmentXXX::CreateNewHashEntry ( unsigned int  X1,
unsigned int  X2,
unsigned int  X3,
unsigned int  X4 
) [private]

Definition at line 147 of file environment_XXX.cpp.

void EnvironmentXXX::CreateStartandGoalStates (  )  [private]

Definition at line 195 of file environment_XXX.cpp.

int EnvironmentXXX::GetFromToHeuristic ( int  FromStateID,
int  ToStateID 
) [virtual]

see comments on the same function in the parent class

Implements DiscreteSpaceInformation.

Definition at line 319 of file environment_XXX.cpp.

int EnvironmentXXX::GetGoalHeuristic ( int  stateID  )  [virtual]

see comments on the same function in the parent class

Implements DiscreteSpaceInformation.

Definition at line 345 of file environment_XXX.cpp.

unsigned int EnvironmentXXX::GETHASHBIN ( unsigned int  X1,
unsigned int  X2,
unsigned int  X3,
unsigned int  X4 
) [private]

Definition at line 63 of file environment_XXX.cpp.

EnvXXXHashEntry_t * EnvironmentXXX::GetHashEntry ( unsigned int  X1,
unsigned int  X2,
unsigned int  X3,
unsigned int  X4 
) [private]

Definition at line 111 of file environment_XXX.cpp.

void EnvironmentXXX::GetPreds ( int  TargetStateID,
vector< int > *  PredIDV,
vector< int > *  CostV 
)

see comments on the same function in the parent class

Definition at line 455 of file environment_XXX.cpp.

int EnvironmentXXX::GetStartHeuristic ( int  stateID  )  [virtual]

see comments on the same function in the parent class

Implements DiscreteSpaceInformation.

Definition at line 367 of file environment_XXX.cpp.

void EnvironmentXXX::GetSuccs ( int  SourceStateID,
vector< int > *  SuccIDV,
vector< int > *  CostV 
)

see comments on the same function in the parent class

Definition at line 448 of file environment_XXX.cpp.

bool EnvironmentXXX::InitializeEnv ( const char *  sEnvFile  )  [virtual]

see comments on the same function in the parent class

Implements DiscreteSpaceInformation.

Definition at line 283 of file environment_XXX.cpp.

void EnvironmentXXX::InitializeEnvConfig (  )  [private]

Definition at line 104 of file environment_XXX.cpp.

void EnvironmentXXX::InitializeEnvironment (  )  [private]

Definition at line 214 of file environment_XXX.cpp.

bool EnvironmentXXX::InitializeMDPCfg ( MDPConfig MDPCfg  )  [virtual]

see comments on the same function in the parent class

Implements DiscreteSpaceInformation.

Definition at line 308 of file environment_XXX.cpp.

void EnvironmentXXX::PrintEnv_Config ( FILE *  fOut  )  [virtual]

see comments on the same function in the parent class

Implements DiscreteSpaceInformation.

Definition at line 497 of file environment_XXX.cpp.

void EnvironmentXXX::PrintHashTableHist (  )  [private]

Definition at line 72 of file environment_XXX.cpp.

void EnvironmentXXX::PrintState ( int  stateID,
bool  bVerbose,
FILE *  fOut = NULL 
) [virtual]

see comments on the same function in the parent class

Implements DiscreteSpaceInformation.

Definition at line 469 of file environment_XXX.cpp.

void EnvironmentXXX::ReadConfiguration ( FILE *  fCfg  )  [private]

Definition at line 97 of file environment_XXX.cpp.

void EnvironmentXXX::SetAllActionsandAllOutcomes ( CMDPSTATE state  )  [virtual]

see comments on the same function in the parent class

Implements DiscreteSpaceInformation.

Definition at line 394 of file environment_XXX.cpp.

void EnvironmentXXX::SetAllPreds ( CMDPSTATE state  )  [virtual]

see comments on the same function in the parent class

Implements DiscreteSpaceInformation.

Definition at line 439 of file environment_XXX.cpp.

int EnvironmentXXX::SizeofCreatedEnv (  )  [virtual]

see comments on the same function in the parent class

Implements DiscreteSpaceInformation.

Definition at line 463 of file environment_XXX.cpp.


Member Data Documentation

Definition at line 133 of file environment_XXX.h.

Definition at line 127 of file environment_XXX.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines


sbpl
Author(s): Maxim Likhachev/maximl@seas.upenn.edu
autogenerated on Fri Jan 11 09:38:51 2013