MultiAgentDecisionProcess  Release 0.2.1
DecPOMDPInterface Class Reference

DecPOMDPInterface is an interface for DecPOMDPs. More...

#include <DecPOMDPInterface.h>

+ Inheritance diagram for DecPOMDPInterface:
+ Collaboration diagram for DecPOMDPInterface:

Public Member Functions

virtual DecPOMDPInterfaceClone () const =0
 Returns a pointer to a copy of this class.
virtual double GetDiscount () const =0
 Returns the discount parameter.
virtual double GetReward (State *s, JointAction *ja) const =0
 Function that returns the reward for a state and joint action.
virtual reward_t GetRewardType () const =0
 Returns the reward type.
virtual void SetDiscount (double d)=0
 Sets the discount parameter to 0 < d <= 1.
virtual void SetReward (State *s, JointAction *ja, double r)=0
 Function that sets the reward for a state and joint action.
virtual void SetRewardType (reward_t r)=0
 Sets the reward type to reward_t r.
virtual ~DecPOMDPInterface ()
 Virtual destructor.
- Public Member Functions inherited from POSGInterface
virtual double GetDiscountForAgent (Index agentI) const =0
 Returns the discount parameter.
virtual double GetRewardForAgent (Index agentI, State *s, JointAction *ja) const =0
 Function that returns the reward for a state and joint action.
virtual reward_t GetRewardTypeForAgent (Index agentI) const =0
 Returns the reward type.
virtual void SetDiscountForAgent (Index agentI, double d)=0
 Sets the discount parameter to 0 < d <= 1.
virtual void SetRewardForAgent (Index agentI, State *s, JointAction *ja, double r)=0
 Function that sets the reward for an agent, state and joint action.
virtual void SetRewardTypeForAgent (Index agentI, reward_t r)=0
 Sets the reward type to reward_t r.
virtual ~POSGInterface ()
 Virtual destructor.
- Public Member Functions inherited from MultiAgentDecisionProcessInterface
virtual size_t GetNrAgents () const =0
 Return the number of agents.
virtual std::string GetUnixName () const =0
 Returns the base part of the problem filename.
virtual ~MultiAgentDecisionProcessInterface ()
 Destructor.

Detailed Description

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.

Definition at line 48 of file DecPOMDPInterface.h.

Constructor & Destructor Documentation

virtual DecPOMDPInterface::~DecPOMDPInterface ( )
inlinevirtual

Virtual destructor.

Definition at line 63 of file DecPOMDPInterface.h.

Member Function Documentation

virtual DecPOMDPInterface* DecPOMDPInterface::Clone ( ) const
pure virtual
virtual double DecPOMDPInterface::GetDiscount ( ) const
pure virtual

Returns the discount parameter.

Implemented in DecPOMDP.

Referenced by PlanningUnitDecPOMDPDiscrete::GetDiscount().

virtual double DecPOMDPInterface::GetReward ( State s,
JointAction ja 
) const
pure virtual

Function that returns the reward for a state and joint action.

This should be very generic.

Implemented in TOIDecPOMDPDiscrete, and DecPOMDPDiscrete.

virtual reward_t DecPOMDPInterface::GetRewardType ( ) const
pure virtual

Returns the reward type.

Implemented in DecPOMDP.

Referenced by AlphaVectorPlanning::ExportPOMDPFile().

virtual void DecPOMDPInterface::SetDiscount ( double  d)
pure virtual

Sets the discount parameter to 0 < d <= 1.

Implemented in DecPOMDP.

Referenced by ArgumentUtils::GetDecPOMDPDiscreteInterfaceFromArgs().

virtual void DecPOMDPInterface::SetReward ( State s,
JointAction ja,
double  r 
)
pure virtual

Function that sets the reward for a state and joint action.

This should be very generic.

Implemented in TOIDecPOMDPDiscrete, and DecPOMDPDiscrete.

virtual void DecPOMDPInterface::SetRewardType ( reward_t  r)
pure virtual

Sets the reward type to reward_t r.

Implemented in DecPOMDP.


The documentation for this class was generated from the following file: