MultiAgentDecisionProcess  Release 0.2.1
AgentLocalObservations Class Reference

AgentLocalObservations represents an agent that acts on local observations. More...

#include <AgentLocalObservations.h>

+ Inheritance diagram for AgentLocalObservations:
+ Collaboration diagram for AgentLocalObservations:

Public Member Functions

virtual Index Act (Index oI)=0
 Return an individual action index based on an individual observation index.
 AgentLocalObservations ()
 (default) Constructor
 AgentLocalObservations (const PlanningUnitDecPOMDPDiscrete &pu, Index id)
 AgentLocalObservations (const AgentLocalObservations &a)
 Copy constructor.
 ~AgentLocalObservations ()
 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

AgentLocalObservations represents an agent that acts on local observations.

Definition at line 40 of file AgentLocalObservations.h.

Constructor & Destructor Documentation

AgentLocalObservations::AgentLocalObservations ( )
inline

(default) Constructor

a derived class should first call the AgentDecPOMDPDiscrete constructor. Therefore, we do not need to pass along any arguments anymore here.

Definition at line 53 of file AgentLocalObservations.h.

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

Definition at line 56 of file AgentLocalObservations.h.

AgentLocalObservations::AgentLocalObservations ( const AgentLocalObservations a)
inline

Copy constructor.

Definition at line 60 of file AgentLocalObservations.h.

AgentLocalObservations::~AgentLocalObservations ( )
inline

Destructor.

Definition at line 64 of file AgentLocalObservations.h.

Member Function Documentation

virtual Index AgentLocalObservations::Act ( Index  oI)
pure virtual

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

Implemented in AgentRandom.


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