Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
momdp::MOMDP Class Reference

#include <MOMDP.h>

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

List of all members.

Public Member Functions

virtual void deletePOMDPMatrices ()
virtual map< string, string > getActionsSymbols (int actionNum)
virtual int getBeliefSize ()
virtual REAL_VALUE getDiscount ()
virtual map< string, string > getFactoredObservedStatesSymbols (int stateNum)
virtual map< string, string > getFactoredUnobservedStatesSymbols (int stateNum)
SharedPointer< SparseVectorgetInitialBeliefY (int obsState)
virtual bool getIsTerminalState (BeliefWithState &b)
virtual SparseVectorgetJointUnobsStateProbVector (SparseVector &result, SharedPointer< BeliefWithState > b, int a, int Xn)
virtual int getNumActions ()
virtual map< string, string > getObservationsSymbols (int observationNum)
virtual void getObsProbVector (obs_prob_vector &result, const BeliefWithState &b, int a, int Xn)
virtual void getObsProbVector (obs_prob_vector &result, SharedPointer< belief_vector > &belY, obsState_prob_vector &belX, int a, int Xn)
virtual void getObsProbVectorFast (obs_prob_vector &result, int a, int Xn, SparseVector &tmp1)
virtual obsState_prob_vectorgetObsStateProbVector (obsState_prob_vector &result, SharedPointer< belief_vector > &belY, DenseVector &belX, int a)
virtual obsState_prob_vectorgetObsStateProbVector (obsState_prob_vector &result, BeliefWithState &b, int a)
virtual bool hasPOMDPMatrices ()
 MOMDP (void)
virtual string ToString ()
virtual ~MOMDP (void)

Static Public Member Functions

static SharedPointer< MOMDPconvertMOMDPFromPOMDP (POMDP *pomdpProblem)
static SharedPointer< MOMDPconvertMOMDPFromPOMDPX (FactoredPomdp *factoredPomdp, bool assumeUnknownFlag, unsigned int probType)

Public Attributes

Actionsactions
BeliefTransitionbeliefTransition
Cache< SharedPointer
< SparseMatrix > > 
cache
REAL_VALUE discount
bool hasIntraslice
SharedPointer< BeliefWithStateinitialBeliefStval
SharedPointer< DenseVectorinitialBeliefX
SharedPointer< SparseVectorinitialBeliefY
vector< SharedPointer
< SparseVector > > 
initialBeliefYByX
vector< vector< int > > isPOMDPTerminalState
Observationsobservations
ObservationProbabilitiesobsProb
vector< SharedPointer
< SparseMatrix > > * 
pomdpO
SharedPointer< SparseMatrixpomdpR
vector< SharedPointer
< SparseMatrix > > * 
pomdpT
vector< SharedPointer
< SparseMatrix > > * 
pomdpTtr
Rewardsrewards
StatesXStates
StateTransitionXXTrans
StatesYStates
StateTransitionYYTrans

Private Member Functions

virtual void deleteMatrixVector (vector< SharedPointer< SparseMatrix > > *m)

Private Attributes

vector< ObsActactionList
vector< ObsActobservationList
vector< ObsActrewardList
vector< StatestateList

Detailed Description

Definition at line 40 of file MOMDP.h.


Constructor & Destructor Documentation

MOMDP::MOMDP ( void  )

Definition at line 9 of file MOMDP.cpp.

MOMDP::~MOMDP ( void  ) [virtual]

Definition at line 69 of file MOMDP.cpp.


Member Function Documentation

SharedPointer< MOMDP > MOMDP::convertMOMDPFromPOMDP ( POMDP pomdpProblem) [static]

Definition at line 240 of file MOMDP.cpp.

SharedPointer< MOMDP > MOMDP::convertMOMDPFromPOMDPX ( FactoredPomdp factoredPomdp,
bool  assumeUnknownFlag,
unsigned int  probType 
) [static]

Definition at line 377 of file MOMDP.cpp.

void MOMDP::deleteMatrixVector ( vector< SharedPointer< SparseMatrix > > *  m) [private, virtual]

Definition at line 56 of file MOMDP.cpp.

void MOMDP::deletePOMDPMatrices ( ) [virtual]

Definition at line 36 of file MOMDP.cpp.

map< string, string > MOMDP::getActionsSymbols ( int  actionNum) [virtual]

Reimplemented in momdp::CoLoc.

Definition at line 798 of file MOMDP.cpp.

int MOMDP::getBeliefSize ( ) [virtual]

Reimplemented in momdp::CoLoc.

Definition at line 120 of file MOMDP.cpp.

virtual REAL_VALUE momdp::MOMDP::getDiscount ( ) [inline, virtual]

Reimplemented in momdp::CoLoc.

Definition at line 104 of file MOMDP.h.

map< string, string > MOMDP::getFactoredObservedStatesSymbols ( int  stateNum) [virtual]

Reimplemented in momdp::CoLoc.

Definition at line 825 of file MOMDP.cpp.

map< string, string > MOMDP::getFactoredUnobservedStatesSymbols ( int  stateNum) [virtual]

Reimplemented in momdp::CoLoc.

Definition at line 852 of file MOMDP.cpp.

Definition at line 95 of file MOMDP.h.

bool MOMDP::getIsTerminalState ( BeliefWithState b) [virtual]

Definition at line 782 of file MOMDP.cpp.

SparseVector & MOMDP::getJointUnobsStateProbVector ( SparseVector result,
SharedPointer< BeliefWithState b,
int  a,
int  Xn 
) [virtual]

Reimplemented in momdp::CoLoc.

Definition at line 125 of file MOMDP.cpp.

int MOMDP::getNumActions ( ) [virtual]

Reimplemented in momdp::CoLoc.

Definition at line 116 of file MOMDP.cpp.

map< string, string > MOMDP::getObservationsSymbols ( int  observationNum) [virtual]

Reimplemented in momdp::CoLoc.

Definition at line 881 of file MOMDP.cpp.

void MOMDP::getObsProbVector ( obs_prob_vector result,
const BeliefWithState b,
int  a,
int  Xn 
) [virtual]

Reimplemented in momdp::CoLoc.

Definition at line 207 of file MOMDP.cpp.

void MOMDP::getObsProbVector ( obs_prob_vector result,
SharedPointer< belief_vector > &  belY,
obsState_prob_vector belX,
int  a,
int  Xn 
) [virtual]

Definition at line 177 of file MOMDP.cpp.

void MOMDP::getObsProbVectorFast ( obs_prob_vector result,
int  a,
int  Xn,
SparseVector tmp1 
) [virtual]

Reimplemented in momdp::CoLoc.

Definition at line 106 of file MOMDP.cpp.

Definition at line 150 of file MOMDP.cpp.

Reimplemented in momdp::CoLoc.

Definition at line 74 of file MOMDP.cpp.

bool MOMDP::hasPOMDPMatrices ( ) [virtual]

Reimplemented in momdp::CoLoc.

Definition at line 31 of file MOMDP.cpp.

string MOMDP::ToString ( ) [virtual]

Reimplemented from momdp::MObject.

Reimplemented in momdp::CoLoc.

Definition at line 83 of file MOMDP.cpp.


Member Data Documentation

vector<ObsAct> momdp::MOMDP::actionList [private]

Definition at line 45 of file MOMDP.h.

Definition at line 78 of file MOMDP.h.

Definition at line 67 of file MOMDP.h.

Definition at line 55 of file MOMDP.h.

Definition at line 71 of file MOMDP.h.

Definition at line 93 of file MOMDP.h.

Definition at line 73 of file MOMDP.h.

Definition at line 74 of file MOMDP.h.

Definition at line 52 of file MOMDP.h.

Definition at line 53 of file MOMDP.h.

vector<vector<int> > momdp::MOMDP::isPOMDPTerminalState

Definition at line 90 of file MOMDP.h.

Definition at line 44 of file MOMDP.h.

Definition at line 79 of file MOMDP.h.

Definition at line 83 of file MOMDP.h.

Definition at line 88 of file MOMDP.h.

Definition at line 87 of file MOMDP.h.

Definition at line 88 of file MOMDP.h.

Definition at line 88 of file MOMDP.h.

vector<ObsAct> momdp::MOMDP::rewardList [private]

Definition at line 46 of file MOMDP.h.

Definition at line 84 of file MOMDP.h.

vector<State> momdp::MOMDP::stateList [private]

Definition at line 43 of file MOMDP.h.

Definition at line 76 of file MOMDP.h.

Definition at line 81 of file MOMDP.h.

Definition at line 77 of file MOMDP.h.

Reimplemented in momdp::MOMDPLite.

Definition at line 82 of file MOMDP.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