Public Member Functions |
int | getBeliefSize (void) |
belief_vector & | getInitialBelief (void) |
belief_vector & | getInitialState (void) |
bool | getIsTerminalState (belief_vector &s) |
REAL_VALUE | getMaxReward () |
belief_vector & | getNextBelief (belief_vector &result, belief_vector &b, int a, int o) |
state_vector & | getNextState (state_vector &result, belief_vector &s, int a, int o) |
int | getNumObservations (void) |
SparseMatrix & | getObservationMatrix (int a) |
obs_prob_vector & | getObsProbVector (obs_prob_vector &result, belief_vector &b, int a) |
outcome_prob_vector & | getOutcomeProbVector (outcome_prob_vector &result, belief_vector &b, int a) |
void | getPossibleActions (std::vector< int > &result, belief_vector bel) |
| this gets the list of possible actions which can be taken
|
void | getPossibleObservations (std::vector< int > &result, std::vector< REAL_VALUE > &resultProbs, belief_vector &bel, int act) |
| this calculates the list of possible observations
|
REAL_VALUE | getReward (belief_vector &b, int a) |
SparseMatrix & | getRewardMatrix () |
SparseMatrix & | getTransitionMatrix (int a) |
SparseMatrix & | getTransposedObservationMatrix (int a) |
SparseMatrix & | getTransposedTransitionMatrix (int a) |
| POMDP (void) |
| POMDP (std::string &fileName, bool useFastParser=false) |
void | readFromFile (std::string &fileName, bool useFastParser=false) |
void | setBeliefSize (int beliefSize) |
void | setNumObservations (int _numObservations) |
Public Attributes |
std::string | fileName |
SparseVector | initialBelief |
std::vector< int > | isPOMDPTerminalState |
int | numObservations |
int | numStates |
std::vector< SparseMatrix > | O |
std::vector< SparseMatrix > | Otr |
SparseMatrix | R |
std::vector< SparseMatrix > | T |
std::vector< SparseMatrix > | Ttr |
Protected Member Functions |
void | debugDensity (void) |
void | readFromFileCassandra (std::string &fileName) |
void | readFromFileFast (std::string &fileName) |
void | readFromFileFast2 (std::string &fileName) |
Definition at line 39 of file POMDP.h.