MultiAgentDecisionProcess  Release 0.2.1
AgentSharedObservations Class Reference

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:
+ Collaboration diagram for AgentSharedObservations:

Public Member Functions

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

Detailed Description

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

Definition at line 40 of file AgentSharedObservations.h.

Constructor & Destructor Documentation

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

(default) Constructor

Definition at line 49 of file AgentSharedObservations.h.

AgentSharedObservations::AgentSharedObservations ( const AgentSharedObservations a)
inline

Copy constructor.

Definition at line 53 of file AgentSharedObservations.h.

AgentSharedObservations::~AgentSharedObservations ( )
inline

Destructor.

Definition at line 57 of file AgentSharedObservations.h.

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.


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