value iteration planner More...
#include <viplanner.h>
Public Member Functions | |
int | replan (double allocated_time_secs, vector< int > *solution_stateIDs_V) |
replan a path within the allocated time, return the policy in the solution vector | |
VIPlanner (DiscreteSpaceInformation *environment, MDPConfig *MDP_cfg) | |
constructors | |
~VIPlanner () | |
destructor | |
Private Member Functions | |
void | backup (CMDPSTATE *state) |
CMDPSTATE * | CreateState (int stateID) |
CMDPSTATE * | GetState (int stateID) |
void | Initialize_vidata (CMDPSTATE *state) |
void | InitializePlanner () |
void | perform_iteration_backward () |
void | perform_iteration_forward () |
void | PrintPolicy (FILE *fPolicy) |
void | PrintStat (FILE *fOut, clock_t starttime) |
void | PrintStatHeader (FILE *fOut) |
void | PrintVIData () |
Private Attributes | |
MDPConfig * | MDPCfg_ |
VIPLANNER_T | viPlanner |
value iteration planner
Definition at line 69 of file viplanner.h.
VIPlanner::VIPlanner | ( | DiscreteSpaceInformation * | environment, | |
MDPConfig * | MDP_cfg | |||
) | [inline] |
constructors
Definition at line 79 of file viplanner.h.
VIPlanner::~VIPlanner | ( | ) |
destructor
Definition at line 39 of file viplanner.cpp.
void VIPlanner::backup | ( | CMDPSTATE * | state | ) | [private] |
Definition at line 258 of file viplanner.cpp.
CMDPSTATE * VIPlanner::CreateState | ( | int | stateID | ) | [private] |
Definition at line 60 of file viplanner.cpp.
CMDPSTATE * VIPlanner::GetState | ( | int | stateID | ) | [private] |
Definition at line 94 of file viplanner.cpp.
void VIPlanner::Initialize_vidata | ( | CMDPSTATE * | state | ) | [private] |
Definition at line 49 of file viplanner.cpp.
void VIPlanner::InitializePlanner | ( | ) | [private] |
Definition at line 421 of file viplanner.cpp.
void VIPlanner::perform_iteration_backward | ( | ) | [private] |
Definition at line 306 of file viplanner.cpp.
void VIPlanner::perform_iteration_forward | ( | ) | [private] |
Definition at line 373 of file viplanner.cpp.
void VIPlanner::PrintPolicy | ( | FILE * | fPolicy | ) | [private] |
Definition at line 137 of file viplanner.cpp.
void VIPlanner::PrintStat | ( | FILE * | fOut, | |
clock_t | starttime | |||
) | [private] |
Definition at line 127 of file viplanner.cpp.
void VIPlanner::PrintStatHeader | ( | FILE * | fOut | ) | [private] |
Definition at line 119 of file viplanner.cpp.
void VIPlanner::PrintVIData | ( | ) | [private] |
Definition at line 112 of file viplanner.cpp.
int VIPlanner::replan | ( | double | allocated_time_secs, | |
vector< int > * | solution_stateIDs_V | |||
) |
replan a path within the allocated time, return the policy in the solution vector
Definition at line 435 of file viplanner.cpp.
MDPConfig* VIPlanner::MDPCfg_ [private] |
Definition at line 92 of file viplanner.h.
VIPLANNER_T VIPlanner::viPlanner [private] |
Definition at line 93 of file viplanner.h.