Public Member Functions | Private Member Functions | Private Attributes
VIPlanner Class Reference

value iteration planner More...

#include <viplanner.h>

Inheritance diagram for VIPlanner:
Inheritance graph
[legend]

List of all members.

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)
CMDPSTATECreateState (int stateID)
CMDPSTATEGetState (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

MDPConfigMDPCfg_
VIPLANNER_T viPlanner

Detailed Description

value iteration planner

Definition at line 69 of file viplanner.h.


Constructor & Destructor Documentation

VIPlanner::VIPlanner ( DiscreteSpaceInformation environment,
MDPConfig MDP_cfg 
) [inline]

constructors

Definition at line 79 of file viplanner.h.

destructor

Definition at line 39 of file viplanner.cpp.


Member Function Documentation

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.

Definition at line 306 of file viplanner.cpp.

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.


Member Data Documentation

Definition at line 92 of file viplanner.h.

Definition at line 93 of file viplanner.h.


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


sbpl
Author(s): Maxim Likhachev/maximl@seas.upenn.edu
autogenerated on Fri Jan 18 2013 13:41:53