MultiAgentDecisionProcess
|
RewardModelDiscreteInterface is an interface for discrete reward models. More...
#include <RewardModelDiscreteInterface.h>
Public Member Functions | |
virtual RewardModelDiscreteInterface * | Clone () const =0 |
Returns a pointer to a copy of this class. More... | |
virtual double | Get (Index s_i, Index ja_i) const =0 |
Returns R(s,ja) More... | |
void | Print () const |
Print this to cout. More... | |
RewardModelDiscreteInterface () | |
default Constructor More... | |
virtual void | Set (Index s_i, Index ja_i, double rew)=0 |
Sets R(s_i,ja_i) More... | |
virtual std::string | SoftPrint () const =0 |
Prints a description of this to a string. More... | |
virtual | ~RewardModelDiscreteInterface () |
Destructor. More... | |
Public Member Functions inherited from QTableInterface | |
virtual | ~QTableInterface () |
RewardModelDiscreteInterface is an interface for discrete reward models.
|
inline |
default Constructor
|
inlinevirtual |
Destructor.
|
pure virtual |
Returns a pointer to a copy of this class.
Implements QTableInterface.
Implemented in RewardModelMappingSparseMapped, RewardModelMappingSparse, and RewardModelMapping.
Referenced by BayesianGameIdenticalPayoff::operator=().
Returns R(s,ja)
Implements QTableInterface.
Implemented in RewardModelMappingSparseMapped, RewardModelMappingSparse, and RewardModelMapping.
Referenced by DecPOMDPDiscrete::GetReward(), FactoredDecPOMDPDiscrete::GetReward(), and BayesianGameIdenticalPayoff::GetUtility().
|
inline |
Print this to cout.
References SoftPrint().
Sets R(s_i,ja_i)
Index ja_i, Index s_i, are indices of the state and taken joint action. r is the reward. The order of events is s, ja, so is the arg. list.
Implements QTableInterface.
Implemented in RewardModelMappingSparseMapped, RewardModelMappingSparse, and RewardModelMapping.
Referenced by FactoredDecPOMDPDiscrete::CacheFlatRewardModel(), FactoredDecPOMDPDiscrete::ClipRewardModel(), DecPOMDPDiscrete::SetReward(), and BayesianGameIdenticalPayoff::SetUtility().
|
pure virtual |
Prints a description of this to a string.
Implemented in RewardModelMappingSparseMapped, RewardModelMappingSparse, and RewardModelMapping.
Referenced by Print(), and DecPOMDPDiscrete::SoftPrint().