MultiAgentDecisionProcess
AgentSharedObservations Class Referenceabstract

AgentSharedObservations is represents an agent that benefits from free communication, i.e., it can share all its observations. More...

#include <AgentSharedObservations.h>

Inheritance diagram for AgentSharedObservations:
[legend]

Public Member Functions

virtual Index Act (Index joI)=0
 Return an individual action index based on a joint observation index. More...
 
 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 ResetEpisode ()=0
 Will be called before an episode, to reinitialize the 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...
 

Detailed Description

AgentSharedObservations is represents an agent that benefits from free communication, i.e., it can share all its observations.

Constructor & Destructor Documentation

AgentSharedObservations::AgentSharedObservations ( const PlanningUnitDecPOMDPDiscrete pu,
Index  id 
)
inline

(default) Constructor

AgentSharedObservations::AgentSharedObservations ( const AgentSharedObservations a)
inline

Copy constructor.

AgentSharedObservations::~AgentSharedObservations ( )
inline

Destructor.

Member Function Documentation

virtual Index AgentSharedObservations::Act ( Index  joI)
pure virtual

Return an individual action index based on a joint observation index.

Implemented in AgentPOMDP, and AgentQMDP.