#include <RewardsByFunction.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) |
RewardsByFunction (void) | |
virtual | ~RewardsByFunction (void) |
Public Attributes | |
MOMDP * | problem |
vector< SharedPointer < VariableRelation > > | relations |
vector< SharedPointer < IVariable > > | vars |
Private Member Functions | |
SharedPointer< SparseMatrix > | getMatrixInner (int x, bool transpose) |
Definition at line 19 of file RewardsByFunction.h.
RewardsByFunction::RewardsByFunction | ( | void | ) |
Definition at line 6 of file RewardsByFunction.cpp.
RewardsByFunction::~RewardsByFunction | ( | void | ) | [virtual] |
Definition at line 10 of file RewardsByFunction.cpp.
SharedPointer< SparseMatrix > RewardsByFunction::getMatrix | ( | int | x | ) | [virtual] |
Reimplemented from momdp::Rewards.
Definition at line 30 of file RewardsByFunction.cpp.
SharedPointer< SparseMatrix > RewardsByFunction::getMatrixInner | ( | int | x, |
bool | transpose | ||
) | [private] |
Definition at line 49 of file RewardsByFunction.cpp.
REAL_VALUE RewardsByFunction::getReward | ( | BeliefWithState & | belief, |
int | a | ||
) | [virtual] |
Reimplemented from momdp::Rewards.
Definition at line 14 of file RewardsByFunction.cpp.
REAL_VALUE momdp::RewardsByFunction::reward | ( | States::iterator & | x, |
States::iterator & | y, | ||
Actions::iterator & | a | ||
) |
Reimplemented from momdp::Rewards.
Definition at line 37 of file RewardsByFunction.h.
Definition at line 36 of file RewardsByFunction.h.
Reimplemented from momdp::Rewards.
Definition at line 28 of file RewardsByFunction.h.