#include <EvaluationEngine.h>
Public Member Functions | |
void | display (belief_vector &b, ostream &s) |
EvaluationEngine () | |
void | getPossibleObservations (belief_vector &possObs, int action, const BeliefWithState &belSt) const |
double | getReward (const BeliefWithState &belst, int action) |
int | runFor (int iters, BeliefWithState &startVec, SparseVector startBeliefX, ofstream *streamOut, double &reward, double &expReward) |
BeliefTreeNode * | searchNode (SharedPointer< BeliefWithState > belief) |
void | setup (SharedPointer< MOMDP > problem, SharedPointer< AlphaVectorPolicy > policy, BeliefForest *_beliefForest, vector< BeliefCache * > *_beliefCacheSet, Sample *_sampleEngine, SolverParams *solverParams) |
string | toString () |
virtual | ~EvaluationEngine (void) |
Private Attributes | |
vector< BeliefCache * > * | beliefCacheSet |
BeliefForest * | beliefForest |
SharedPointer< AlphaVectorPolicy > | policy |
SharedPointer< MOMDP > | problem |
Sample * | sampleEngine |
SolverParams * | solverParams |
Definition at line 19 of file EvaluationEngine.h.
Definition at line 18 of file EvaluationEngine.cpp.
momdp::EvaluationEngine::~EvaluationEngine | ( | void | ) | [virtual] |
Definition at line 31 of file EvaluationEngine.cpp.
void momdp::EvaluationEngine::display | ( | belief_vector & | b, |
ostream & | s | ||
) |
Definition at line 79 of file EvaluationEngine.cpp.
void momdp::EvaluationEngine::getPossibleObservations | ( | belief_vector & | possObs, |
int | action, | ||
const BeliefWithState & | belSt | ||
) | const |
Definition at line 57 of file EvaluationEngine.cpp.
double momdp::EvaluationEngine::getReward | ( | const BeliefWithState & | belst, |
int | action | ||
) |
Definition at line 65 of file EvaluationEngine.cpp.
int momdp::EvaluationEngine::runFor | ( | int | iters, |
BeliefWithState & | startVec, | ||
SparseVector | startBeliefX, | ||
ofstream * | streamOut, | ||
double & | reward, | ||
double & | expReward | ||
) |
Definition at line 106 of file EvaluationEngine.cpp.
Definition at line 87 of file EvaluationEngine.cpp.
void momdp::EvaluationEngine::setup | ( | SharedPointer< MOMDP > | problem, |
SharedPointer< AlphaVectorPolicy > | policy, | ||
BeliefForest * | _beliefForest, | ||
vector< BeliefCache * > * | _beliefCacheSet, | ||
Sample * | _sampleEngine, | ||
SolverParams * | solverParams | ||
) |
Definition at line 21 of file EvaluationEngine.cpp.
string momdp::EvaluationEngine::toString | ( | ) |
Definition at line 72 of file EvaluationEngine.cpp.
vector<BeliefCache *>* momdp::EvaluationEngine::beliefCacheSet [private] |
Definition at line 26 of file EvaluationEngine.h.
Definition at line 24 of file EvaluationEngine.h.
Definition at line 23 of file EvaluationEngine.h.
SharedPointer<MOMDP> momdp::EvaluationEngine::problem [private] |
Definition at line 22 of file EvaluationEngine.h.
Sample* momdp::EvaluationEngine::sampleEngine [private] |
Definition at line 25 of file EvaluationEngine.h.
Definition at line 27 of file EvaluationEngine.h.