MultiAgentDecisionProcess
ParserTOIDecPOMDPDiscrete Class Reference

ParserTOIDecPOMDPDiscrete is a parser for TOIDecPOMDPDiscrete. More...

#include <ParserTOIDecPOMDPDiscrete.h>

Inheritance diagram for ParserTOIDecPOMDPDiscrete:
[legend]

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
 

Detailed Description

Constructor & Destructor Documentation

ParserTOIDecPOMDPDiscrete::ParserTOIDecPOMDPDiscrete ( TOIDecPOMDPDiscrete problem)

(default) Constructor

virtual ParserTOIDecPOMDPDiscrete::~ParserTOIDecPOMDPDiscrete ( )
inlinevirtual

Member Function Documentation

void ParserTOIDecPOMDPDiscrete::ParseRewards ( size_t  nrAgents,
const std::vector< size_t > &  nrStates,
const std::vector< size_t > &  nrActions 
)
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().

Member Data Documentation

TOIDecPOMDPDiscrete* ParserTOIDecPOMDPDiscrete::_m_problem
private