MultiAgentDecisionProcess
AgentQMDP Class Reference

AgentQMDP represents an agent which uses a QMDP-based policy. More...

#include <AgentQMDP.h>

Inheritance diagram for AgentQMDP:
[legend]

Public Member Functions

Index Act (Index joI)
 Return an individual action index based on a joint observation index. More...
 
 AgentQMDP (const PlanningUnitDecPOMDPDiscrete *pu, Index id, const QTable &Q)
 (default) Constructor More...
 
 AgentQMDP (const AgentQMDP &a)
 Copy constructor. More...
 
void ResetEpisode ()
 Will be called before an episode, to reinitialize the agent. More...
 
 ~AgentQMDP ()
 Destructor. More...
 
- Public Member Functions inherited from AgentSharedObservations
 AgentSharedObservations (const PlanningUnitDecPOMDPDiscrete *pu, Index id)
 (default) Constructor More...
 
 AgentSharedObservations (const AgentSharedObservations &a)
 Copy constructor. More...
 
 ~AgentSharedObservations ()
 Destructor. More...
 
- Public Member Functions inherited from AgentDecPOMDPDiscrete
 AgentDecPOMDPDiscrete (const PlanningUnitDecPOMDPDiscrete *pu, Index id)
 (default) Constructor More...
 
 AgentDecPOMDPDiscrete (const AgentDecPOMDPDiscrete &a)
 Copy constructor. More...
 
const
PlanningUnitDecPOMDPDiscrete
GetPU () const
 
- Public Member Functions inherited from SimulationAgent
virtual Index GetIndex () const
 Retrieves the index of this agent. More...
 
virtual bool GetVerbose () const
 If true, the agent will report more. More...
 
void Print () const
 Print out some information about this agent. More...
 
virtual void SetIndex (Index id)
 Sets the index of this agent. More...
 
virtual void SetVerbose (bool verbose)
 Set whether this agent should be verbose. More...
 
 SimulationAgent (Index id, bool verbose=false)
 (default) Constructor More...
 
virtual std::string SoftPrint () const
 Return some information about this agent. More...
 
virtual ~SimulationAgent ()
 Destructor. More...
 

Private Attributes

JointBeliefSparse _m_jb
 
Index _m_prevJaI
 
QTable _m_Q
 
size_t _m_t
 

Detailed Description

AgentQMDP represents an agent which uses a QMDP-based policy.

Constructor & Destructor Documentation

AgentQMDP::AgentQMDP ( const PlanningUnitDecPOMDPDiscrete pu,
Index  id,
const QTable Q 
)

(default) Constructor

AgentQMDP::AgentQMDP ( const AgentQMDP a)

Copy constructor.

AgentQMDP::~AgentQMDP ( )

Destructor.

Member Function Documentation

void AgentQMDP::ResetEpisode ( )
virtual

Member Data Documentation

JointBeliefSparse AgentQMDP::_m_jb
private

Referenced by Act(), and ResetEpisode().

Index AgentQMDP::_m_prevJaI
private

Referenced by Act(), and ResetEpisode().

QTable AgentQMDP::_m_Q
private

Referenced by Act().

size_t AgentQMDP::_m_t
private

Referenced by Act(), and ResetEpisode().