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

#include <SampleBP.h>

Inheritance diagram for momdp::SampleBP:
Inheritance graph
[legend]

List of all members.

Public Member Functions

double calculateLowerBoundValue (int action, BeliefTreeNode &currentNode)
int chooseAction (BeliefTreeNode &currentNode)
bool CompareIfLowerBoundImprovesAction (int action, int observation, int xstate, BeliefTreeNode &currentNode, unsigned int currentRoot)
void getMaxExcessUncOutcome (BeliefTreeNode &cn, BPUpdateResult &r, unsigned int currentRoot) const
list< cacherow_stvalsample (cacherow_stval currentBeliefIndex, unsigned int currentRoot)
 SampleBP ()
void setBinManager (BinManagerSet *_bm)
void setRandomization (bool newFlag)
void setTargetPrecision (double _targetPrecision)
virtual void setup (SharedPointer< MOMDP > _problem, SARSOP *_solver)
 ~SampleBP ()

Public Attributes

BinManagerSetbm
bool doRandomization
bool isRoot
std::vector< int > newTrialFlagArr
std::vector< double > nextNodeTargetLbArr
std::vector< double > nextNodeTargetUbArr
int numBinProceed
int numSubOptimal
int numTrials
SARSOPsolver
std::vector< double > trialTargetPrecisionArr

Private Attributes

std::vector< int > depthArr
double logOcc
double maxDepth
int newNumUpdates
double newQualitySum
double oldMaxDepth
int oldNumUpdates
double oldQualitySum
std::vector< list
< cacherow_stval > > 
priorityQueueArr

Detailed Description

Definition at line 48 of file SampleBP.h.


Constructor & Destructor Documentation

Definition at line 55 of file SampleBP.cpp.

Definition at line 104 of file SampleBP.h.


Member Function Documentation

double momdp::SampleBP::calculateLowerBoundValue ( int  action,
BeliefTreeNode currentNode 
)

Definition at line 505 of file SampleBP.cpp.

Definition at line 526 of file SampleBP.cpp.

bool momdp::SampleBP::CompareIfLowerBoundImprovesAction ( int  action,
int  observation,
int  xstate,
BeliefTreeNode currentNode,
unsigned int  currentRoot 
)

Definition at line 426 of file SampleBP.cpp.

void momdp::SampleBP::getMaxExcessUncOutcome ( BeliefTreeNode cn,
BPUpdateResult r,
unsigned int  currentRoot 
) const

Definition at line 332 of file SampleBP.cpp.

list< cacherow_stval > momdp::SampleBP::sample ( cacherow_stval  currentBeliefIndex,
unsigned int  currentRoot 
) [virtual]

Reimplemented from momdp::Sample.

Definition at line 73 of file SampleBP.cpp.

Definition at line 421 of file SampleBP.cpp.

void momdp::SampleBP::setRandomization ( bool  newFlag)

Definition at line 59 of file SampleBP.cpp.

void momdp::SampleBP::setTargetPrecision ( double  _targetPrecision)
void momdp::SampleBP::setup ( SharedPointer< MOMDP _problem,
SARSOP _solver 
) [virtual]

Definition at line 20 of file SampleBP.cpp.


Member Data Documentation

Definition at line 70 of file SampleBP.h.

std::vector<int> momdp::SampleBP::depthArr [private]

Definition at line 52 of file SampleBP.h.

Definition at line 102 of file SampleBP.h.

Definition at line 73 of file SampleBP.h.

double momdp::SampleBP::logOcc [private]

Definition at line 53 of file SampleBP.h.

double momdp::SampleBP::maxDepth [private]

Definition at line 54 of file SampleBP.h.

Definition at line 56 of file SampleBP.h.

Definition at line 55 of file SampleBP.h.

Definition at line 78 of file SampleBP.h.

Definition at line 74 of file SampleBP.h.

Definition at line 72 of file SampleBP.h.

Definition at line 71 of file SampleBP.h.

Definition at line 68 of file SampleBP.h.

Definition at line 67 of file SampleBP.h.

double momdp::SampleBP::oldMaxDepth [private]

Definition at line 54 of file SampleBP.h.

Definition at line 56 of file SampleBP.h.

Definition at line 55 of file SampleBP.h.

std::vector<list<cacherow_stval> > momdp::SampleBP::priorityQueueArr [private]

Definition at line 63 of file SampleBP.h.

Reimplemented from momdp::Sample.

Definition at line 84 of file SampleBP.h.

Definition at line 76 of file SampleBP.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