MultiAgentDecisionProcess
BayesianGameForDecPOMDPStageInterface Class Referenceabstract

BayesianGameForDecPOMDPStageInterface is a class that represents the base class for all Bayesian games that are used to represent a stage of a Dec-POMDP (e.g., in GMAA*). More...

#include <BayesianGameForDecPOMDPStageInterface.h>

Inheritance diagram for BayesianGameForDecPOMDPStageInterface:
[legend]

Public Member Functions

 BayesianGameForDecPOMDPStageInterface ()
 Constructor without arguments, needed for serialization. More...
 
 BayesianGameForDecPOMDPStageInterface (const boost::shared_ptr< const PartialJointPolicyDiscretePure > &pastJPol)
 
 BayesianGameForDecPOMDPStageInterface (Index t)
 
virtual void ClearAllImmediateRewards ()=0
 We can also clear this cache. More...
 
virtual void ComputeAllImmediateRewards (const FactoredDecPOMDPDiscreteInterface *fd)=0
 When performing a lot of GetImmediateReward calls we can first compute a cache of immediate rewards, to speed things up. More...
 
virtual double ComputeDiscountedImmediateRewardForJPol (const boost::shared_ptr< JointPolicyDiscretePure > &jpolBG, const PlanningUnitFactoredDecPOMDPDiscrete *pu) const =0
 Compute the discounted expected imm reward for jpolBG. More...
 
virtual double GetImmediateReward (Index jtI, Index jaI, const FactoredDecPOMDPDiscreteInterface *fd) const =0
 Returns the (expected) immediate reward for jtI, jaI. More...
 
boost::shared_ptr< const
PartialJointPolicyDiscretePure
GetPastJointPolicy () const
 
Index GetStage () const
 
virtual ~BayesianGameForDecPOMDPStageInterface ()
 Destructor. More...
 

Private Attributes

boost::shared_ptr< const
PartialJointPolicyDiscretePure
_m_pJPol
 Stores pointer to the past policy - perhaps not needed? More...
 
Index _m_t
 The stage (time step) that this BG represents. More...
 

Detailed Description

BayesianGameForDecPOMDPStageInterface is a class that represents the base class for all Bayesian games that are used to represent a stage of a Dec-POMDP (e.g., in GMAA*).

Constructor & Destructor Documentation

BayesianGameForDecPOMDPStageInterface::BayesianGameForDecPOMDPStageInterface ( )

Constructor without arguments, needed for serialization.

BayesianGameForDecPOMDPStageInterface::BayesianGameForDecPOMDPStageInterface ( const boost::shared_ptr< const PartialJointPolicyDiscretePure > &  pastJPol)
BayesianGameForDecPOMDPStageInterface::BayesianGameForDecPOMDPStageInterface ( Index  t)
virtual BayesianGameForDecPOMDPStageInterface::~BayesianGameForDecPOMDPStageInterface ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual void BayesianGameForDecPOMDPStageInterface::ClearAllImmediateRewards ( )
pure virtual

We can also clear this cache.

Implemented in BayesianGameForDecPOMDPStage.

virtual void BayesianGameForDecPOMDPStageInterface::ComputeAllImmediateRewards ( const FactoredDecPOMDPDiscreteInterface fd)
pure virtual

When performing a lot of GetImmediateReward calls we can first compute a cache of immediate rewards, to speed things up.

Implemented in BayesianGameForDecPOMDPStage.

virtual double BayesianGameForDecPOMDPStageInterface::ComputeDiscountedImmediateRewardForJPol ( const boost::shared_ptr< JointPolicyDiscretePure > &  jpolBG,
const PlanningUnitFactoredDecPOMDPDiscrete pu 
) const
pure virtual

Compute the discounted expected imm reward for jpolBG.

Implemented in BayesianGameForDecPOMDPStage.

virtual double BayesianGameForDecPOMDPStageInterface::GetImmediateReward ( Index  jtI,
Index  jaI,
const FactoredDecPOMDPDiscreteInterface fd 
) const
pure virtual

Returns the (expected) immediate reward for jtI, jaI.

Implemented in BayesianGameForDecPOMDPStage.

boost::shared_ptr<const PartialJointPolicyDiscretePure> BayesianGameForDecPOMDPStageInterface::GetPastJointPolicy ( ) const
inline

Member Data Documentation

boost::shared_ptr<const PartialJointPolicyDiscretePure> BayesianGameForDecPOMDPStageInterface::_m_pJPol
private

Stores pointer to the past policy - perhaps not needed?

Referenced by GetPastJointPolicy().

Index BayesianGameForDecPOMDPStageInterface::_m_t
private

The stage (time step) that this BG represents.

Referenced by GetStage().