MultiAgentDecisionProcess
|
DecPOMDPInterface is an interface for DecPOMDPs. More...
#include <DecPOMDPInterface.h>
Public Member Functions | |
virtual DecPOMDPInterface * | Clone () const =0 |
Returns a pointer to a copy of this class. More... | |
virtual double | GetDiscount () const =0 |
Returns the discount parameter. More... | |
virtual double | GetReward (State *s, JointAction *ja) const =0 |
Function that returns the reward for a state and joint action. More... | |
virtual reward_t | GetRewardType () const =0 |
Returns the reward type. More... | |
virtual void | SetDiscount (double d)=0 |
Sets the discount parameter to 0 < d <= 1. More... | |
virtual void | SetReward (State *s, JointAction *ja, double r)=0 |
Function that sets the reward for a state and joint action. More... | |
virtual void | SetRewardType (reward_t r)=0 |
Sets the reward type to reward_t r. More... | |
virtual | ~DecPOMDPInterface () |
Virtual destructor. More... | |
Public Member Functions inherited from POSGInterface | |
virtual double | GetDiscountForAgent (Index agentI) const =0 |
Returns the discount parameter. More... | |
virtual double | GetRewardForAgent (Index agentI, State *s, JointAction *ja) const =0 |
Function that returns the reward for a state and joint action. More... | |
virtual reward_t | GetRewardTypeForAgent (Index agentI) const =0 |
Returns the reward type. More... | |
virtual void | SetDiscountForAgent (Index agentI, double d)=0 |
Sets the discount parameter to 0 < d <= 1. More... | |
virtual void | SetRewardForAgent (Index agentI, State *s, JointAction *ja, double r)=0 |
Function that sets the reward for an agent, state and joint action. More... | |
virtual void | SetRewardTypeForAgent (Index agentI, reward_t r)=0 |
Sets the reward type to reward_t r. More... | |
virtual | ~POSGInterface () |
Virtual destructor. More... | |
Public Member Functions inherited from MultiAgentDecisionProcessInterface | |
virtual const Scope & | GetAllAgentScope () const =0 |
virtual size_t | GetNrAgents () const =0 |
Return the number of agents. More... | |
virtual std::string | GetUnixName () const =0 |
Returns the base part of the problem filename. More... | |
virtual | ~MultiAgentDecisionProcessInterface () |
Destructor. More... | |
DecPOMDPInterface is an interface for DecPOMDPs.
It declares a couple of function that relate to the (types of) rewards and discount factor.
Conceptually an MultiAgentDecisionProcess that implements this interface, is a Dec-POMDP: the system is cooperative and there is only 1 reward function.
|
inlinevirtual |
Virtual destructor.
|
pure virtual |
Returns a pointer to a copy of this class.
Implements POSGInterface.
Implemented in FactoredDecPOMDPDiscrete, TOIDecPOMDPDiscrete, DecPOMDPDiscrete, FactoredDecPOMDPDiscreteInterface, ProblemFireFightingFactored, ProblemAloha, ProblemFOBSFireFightingFactored, TOICompactRewardDecPOMDPDiscrete, DecPOMDPDiscreteInterface, TOIFactoredRewardDecPOMDPDiscrete, and FactoredMMDPDiscrete.
|
pure virtual |
Returns the discount parameter.
Implemented in DecPOMDP.
Referenced by PlanningUnitDecPOMDPDiscrete::ExportDecPOMDPFile(), AlphaVectorPlanning::ExportPOMDPFile(), and PlanningUnitDecPOMDPDiscrete::GetDiscount().
|
pure virtual |
Function that returns the reward for a state and joint action.
This should be very generic.
Implemented in FactoredDecPOMDPDiscrete, TOIDecPOMDPDiscrete, and DecPOMDPDiscrete.
|
pure virtual |
Returns the reward type.
Implemented in DecPOMDP.
Referenced by PlanningUnitDecPOMDPDiscrete::ExportDecPOMDPFile(), and AlphaVectorPlanning::ExportPOMDPFile().
|
pure virtual |
Sets the discount parameter to 0 < d <= 1.
Implemented in DecPOMDP.
Referenced by ArgumentUtils::GetDecPOMDPDiscreteInterfaceFromArgs(), and ArgumentUtils::GetFactoredDecPOMDPDiscreteInterfaceFromArgs().
|
pure virtual |
Function that sets the reward for a state and joint action.
This should be very generic.
Implemented in FactoredDecPOMDPDiscrete, TOIDecPOMDPDiscrete, and DecPOMDPDiscrete.