Public Member Functions | Private Attributes
momdp::SimulationEngine Class Reference

#include <SimulationEngine.h>

List of all members.

Public Member Functions

void checkTerminal (string o, string s, vector< int > &bhout, vector< int > &fhout)
void display (belief_vector &b, ostream &s)
int getGreedyAction (vector< int > &, vector< int > &)
void getPossibleObservations (belief_vector &possObs, int action, const BeliefWithState &belSt) const
double getReward (const BeliefWithState &belst, int action)
void performActionObs (belief_vector &outBelObs, int action, const BeliefWithState &belSt) const
void performActionUnobs (belief_vector &outBelUnobs, int action, const BeliefWithState &belSt, int currObsState) const
int runFor (int iters, ofstream *streamOut, double &reward, double &expReward)
void setup (SharedPointer< MOMDP > problem, SharedPointer< AlphaVectorPolicy > policy, SolverParams *solverParams)
 SimulationEngine ()
string toString ()
virtual ~SimulationEngine (void)

Private Attributes

SharedPointer< AlphaVectorPolicypolicy
SharedPointer< MOMDPproblem
SolverParamssolverParams

Detailed Description

Definition at line 15 of file SimulationEngine.h.


Constructor & Destructor Documentation

Definition at line 24 of file SimulationEngine.cpp.

Definition at line 28 of file SimulationEngine.cpp.


Member Function Documentation

void momdp::SimulationEngine::checkTerminal ( string  o,
string  s,
vector< int > &  bhout,
vector< int > &  fhout 
)

Definition at line 32 of file SimulationEngine.cpp.

void momdp::SimulationEngine::display ( belief_vector b,
ostream &  s 
)

Definition at line 118 of file SimulationEngine.cpp.

int momdp::SimulationEngine::getGreedyAction ( vector< int > &  bhout,
vector< int > &  fhout 
)

Definition at line 44 of file SimulationEngine.cpp.

void momdp::SimulationEngine::getPossibleObservations ( belief_vector possObs,
int  action,
const BeliefWithState belSt 
) const

Definition at line 96 of file SimulationEngine.cpp.

double momdp::SimulationEngine::getReward ( const BeliefWithState belst,
int  action 
)

Definition at line 104 of file SimulationEngine.cpp.

void momdp::SimulationEngine::performActionObs ( belief_vector outBelObs,
int  action,
const BeliefWithState belSt 
) const

Definition at line 73 of file SimulationEngine.cpp.

void momdp::SimulationEngine::performActionUnobs ( belief_vector outBelUnobs,
int  action,
const BeliefWithState belSt,
int  currObsState 
) const

Definition at line 90 of file SimulationEngine.cpp.

int momdp::SimulationEngine::runFor ( int  iters,
ofstream *  streamOut,
double &  reward,
double &  expReward 
)

Definition at line 126 of file SimulationEngine.cpp.

void momdp::SimulationEngine::setup ( SharedPointer< MOMDP problem,
SharedPointer< AlphaVectorPolicy policy,
SolverParams solverParams 
)

Definition at line 66 of file SimulationEngine.cpp.

Definition at line 111 of file SimulationEngine.cpp.


Member Data Documentation

Definition at line 19 of file SimulationEngine.h.

Definition at line 18 of file SimulationEngine.h.

Definition at line 20 of file SimulationEngine.h.


The documentation for this class was generated from the following files:


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:30