MultiAgentDecisionProcess
Release 0.2.1
|
AgentLocalObservations represents an agent that acts on local observations. More...
#include <AgentLocalObservations.h>
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. | |
![]() | |
AgentDecPOMDPDiscrete () | |
(default) Constructor | |
AgentDecPOMDPDiscrete (const PlanningUnitDecPOMDPDiscrete &pu, Index id) | |
AgentDecPOMDPDiscrete (const AgentDecPOMDPDiscrete &a) | |
Copy constructor. | |
const PlanningUnitDecPOMDPDiscrete * | GetPU () const |
![]() | |
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. |
AgentLocalObservations represents an agent that acts on local observations.
Definition at line 40 of file AgentLocalObservations.h.
|
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.
|
inline |
Definition at line 56 of file AgentLocalObservations.h.
|
inline |
Copy constructor.
Definition at line 60 of file AgentLocalObservations.h.
|
inline |
Destructor.
Definition at line 64 of file AgentLocalObservations.h.
|
pure virtual |
Return an individual action index based on an individual observation index.
Implemented in AgentRandom.