MultiAgentDecisionProcess
|
ParserTOIDecPOMDPDiscrete is a parser for TOIDecPOMDPDiscrete. More...
#include <ParserTOIDecPOMDPDiscrete.h>
Public Member Functions | |
void | Parse () |
ParserTOIDecPOMDPDiscrete (TOIDecPOMDPDiscrete *problem) | |
(default) Constructor More... | |
virtual | ~ParserTOIDecPOMDPDiscrete () |
Public Member Functions inherited from ParserInterface | |
ParserInterface () | |
(default) Constructor More... | |
virtual | ~ParserInterface () |
Protected Member Functions | |
void | ParseRewards (size_t nrAgents, const std::vector< size_t > &nrStates, const std::vector< size_t > &nrActions) |
Format for .rewards file is a set of lines: <s_0 ... More... | |
virtual void | ParseRewards () |
Private Member Functions | |
void | ParseAgent (Index id) |
void | ParseBase () |
virtual void | StoreDecPOMDP (DecPOMDPDiscrete *decpomdp, Index id) |
Private Attributes | |
TOIDecPOMDPDiscrete * | _m_problem |
ParserTOIDecPOMDPDiscrete is a parser for TOIDecPOMDPDiscrete.
ParserTOIDecPOMDPDiscrete::ParserTOIDecPOMDPDiscrete | ( | TOIDecPOMDPDiscrete * | problem | ) |
(default) Constructor
|
inlinevirtual |
|
virtual |
Implements ParserInterface.
References _m_problem, MultiAgentDecisionProcess::GetNrAgents(), ParseAgent(), ParseBase(), ParseRewards(), and TOIDecPOMDPDiscrete::SetInitialized().
Referenced by MADPParser::Parse(), and ParserTOIDecMDPDiscrete::Parse().
|
private |
References _m_problem, TransitionObservationIndependentMADPDiscrete::GetIndividualMADPD(), MultiAgentDecisionProcessInterface::GetNrAgents(), MultiAgentDecisionProcess::GetProblemFile(), MultiAgentDecisionProcessDiscrete::GetSparse(), DPOMDPFormatParsing::ParserDPOMDPFormat_Spirit::Parse(), MultiAgentDecisionProcessDiscrete::SetSparse(), and StoreDecPOMDP().
Referenced by Parse().
|
private |
References _m_problem, MultiAgentDecisionProcess::GetProblemFile(), DecPOMDP::SetDiscount(), and TransitionObservationIndependentMADPDiscrete::SetNrAgents().
Referenced by Parse().
|
protected |
Format for .rewards file is a set of lines: <s_0 ...
s_n> <a_0 ... a_n> <reward>
References _m_problem, TOIDecPOMDPDiscrete::CreateNewRewardModel(), and MultiAgentDecisionProcess::GetProblemFile().
|
protectedvirtual |
Reimplemented in ParserTOICompactRewardDecPOMDPDiscrete.
References _m_problem, TransitionObservationIndependentMADPDiscrete::GetIndividualMADPD(), MultiAgentDecisionProcess::GetNrAgents(), MultiAgentDecisionProcessDiscrete::GetNrJointActions(), and MultiAgentDecisionProcessDiscrete::GetNrStates().
Referenced by Parse().
|
privatevirtual |
Reimplemented in ParserTOICompactRewardDecPOMDPDiscrete, and ParserTOIFactoredRewardDecPOMDPDiscrete.
References _m_problem, DecPOMDPDiscrete::ExtractMADPDiscrete(), TransitionObservationIndependentMADPDiscrete::GetIndividualMADPD(), and TOIDecPOMDPDiscrete::SetIndividualDecPOMDPD().
Referenced by ParseAgent().
|
private |
Referenced by Parse(), ParseAgent(), ParseBase(), ParseRewards(), and StoreDecPOMDP().