|
MultiAgentDecisionProcess
|
AgentPOMDP represents an agent which POMDP-based policy. More...
#include <AgentPOMDP.h>
Public Member Functions | |
| Index | Act (Index joI) |
| Return an individual action index based on a joint observation index. More... | |
| AgentPOMDP (const PlanningUnitDecPOMDPDiscrete *pu, Index id, QAV< PerseusPOMDPPlanner > *QPOMDP) | |
| (default) Constructor More... | |
| AgentPOMDP (const AgentPOMDP &a) | |
| Copy constructor. More... | |
| void | ResetEpisode () |
| Will be called before an episode, to reinitialize the agent. More... | |
| ~AgentPOMDP () | |
| Destructor. More... | |
Public Member Functions inherited from AgentSharedObservations | |
| 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 | 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... | |
Private Attributes | |
| JointBeliefInterface * | _m_jb |
| Index | _m_prevJaI |
| QAV< PerseusPOMDPPlanner > * | _m_QPOMDP |
| size_t | _m_t |
AgentPOMDP represents an agent which POMDP-based policy.
| AgentPOMDP::AgentPOMDP | ( | const PlanningUnitDecPOMDPDiscrete * | pu, |
| Index | id, | ||
| QAV< PerseusPOMDPPlanner > * | QPOMDP | ||
| ) |
(default) Constructor
References _m_jb, PlanningUnitMADPDiscrete::GetNewJointBeliefInterface(), and AgentDecPOMDPDiscrete::GetPU().
| AgentPOMDP::AgentPOMDP | ( | const AgentPOMDP & | a | ) |
Copy constructor.
References _m_jb, PlanningUnitMADPDiscrete::GetNewJointBeliefInterface(), and AgentDecPOMDPDiscrete::GetPU().
| AgentPOMDP::~AgentPOMDP | ( | ) |
Destructor.
References _m_jb.
Return an individual action index based on a joint observation index.
Implements AgentSharedObservations.
References _m_jb, _m_prevJaI, _m_QPOMDP, _m_t, SimulationAgent::GetIndex(), PlanningUnitMADPDiscrete::GetNrJointActions(), AgentDecPOMDPDiscrete::GetPU(), QAV< P >::GetQ(), PlanningUnitMADPDiscrete::JointToIndividualActionIndices(), BeliefInterface::Print(), and JointBeliefInterface::Update().
|
virtual |
Will be called before an episode, to reinitialize the agent.
Implements SimulationAgent.
References _m_jb, _m_prevJaI, _m_t, PlanningUnitMADPDiscrete::GetNewJointBeliefFromISD(), and AgentDecPOMDPDiscrete::GetPU().
|
private |
Referenced by Act(), AgentPOMDP(), ResetEpisode(), and ~AgentPOMDP().
|
private |
Referenced by Act(), and ResetEpisode().
|
private |
Referenced by Act().
|
private |
Referenced by Act(), and ResetEpisode().