MultiAgentDecisionProcess
AgentLocalObservations Class Referenceabstract

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

#include <AgentLocalObservations.h>

Inheritance diagram for AgentLocalObservations:
[legend]

Public Member Functions

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

AgentLocalObservations represents an agent that acts on local observations.

Constructor & Destructor Documentation

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

(default) Constructor

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

AgentLocalObservations::AgentLocalObservations ( const AgentLocalObservations a)
inline

Copy constructor.

AgentLocalObservations::~AgentLocalObservations ( )
inline

Destructor.

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.

virtual Index AgentLocalObservations::ActFirstStage ( )
pure virtual

Return an individual action index for the first stage.

Implemented in AgentRandom.