#include <Rewards.h>
Public Member Functions | |
virtual SharedPointer < SparseMatrix > | getMatrix (int x) |
virtual REAL_VALUE | getReward (BeliefWithState &belief, int a) |
REAL_VALUE | reward (States::iterator &x, States::iterator &y, Actions::iterator &a) |
Rewards (void) | |
virtual | ~Rewards (void) |
Public Attributes | |
vector< SharedPointer < IVariable > > | vars |
Private Attributes | |
vector< SharedPointer < SparseMatrix > > | matrix |
Friends | |
class | MOMDP |
Rewards::Rewards | ( | void | ) |
Definition at line 5 of file Rewards.cpp.
Rewards::~Rewards | ( | void | ) | [virtual] |
Definition at line 9 of file Rewards.cpp.
SharedPointer< SparseMatrix > Rewards::getMatrix | ( | int | x | ) | [virtual] |
Reimplemented in momdp::RewardsByFunction.
Definition at line 12 of file Rewards.cpp.
REAL_VALUE Rewards::getReward | ( | BeliefWithState & | belief, |
int | a | ||
) | [virtual] |
Reimplemented in momdp::RewardsByFunction.
Definition at line 16 of file Rewards.cpp.
REAL_VALUE momdp::Rewards::reward | ( | States::iterator & | x, |
States::iterator & | y, | ||
Actions::iterator & | a | ||
) |
Reimplemented in momdp::RewardsByFunction.
vector<SharedPointer<SparseMatrix> > momdp::Rewards::matrix [private] |
vector<SharedPointer<IVariable> > momdp::Rewards::vars |
Reimplemented in momdp::RewardsByFunction.