MultiAgentDecisionProcess
ParserProbModelXML Class Reference

ParserProbModelXML is a parser for factored Dec-POMDP models written in ProbModelXML. More...

#include <ParserProbModelXML.h>

Inheritance diagram for ParserProbModelXML:
[legend]

Public Types

enum  elm_type { STATE, ACTION, OBSERVATION, REWARD }
 

Public Member Functions

void Parse ()
 The function that starts the parsing. More...
 
 ParserProbModelXML (FactoredDecPOMDPDiscrete *problem=0)
 (default) Constructor More...
 
- Public Member Functions inherited from ParserInterface
 ParserInterface ()
 (default) Constructor More...
 
virtual ~ParserInterface ()
 

Private Attributes

bool _m_agentsInitialized
 Whether or not agents have been found and initialized. More...
 
std::vector< std::vector
< std::string > > 
_m_ANames
 Locally maintained action names. More...
 
std::vector< Scope_m_AScopes_LRF
 
std::vector< Scope_m_AScopes_O
 
std::vector< Scope_m_AScopes_Y
 whether or not this is an asynchronous model More...
 
std::vector< std::size_t > _m_ASizes
 Locally maintained action sizes. More...
 
bool _m_asynchronousModel
 The following variables are used for asynchronous models with factored actions. More...
 
FactoredDecPOMDPDiscrete_m_fDecPOMDP
 

Detailed Description

ParserProbModelXML is a parser for factored Dec-POMDP models written in ProbModelXML.

Member Enumeration Documentation

Enumerator
STATE 
ACTION 
OBSERVATION 
REWARD 

Constructor & Destructor Documentation

ParserProbModelXML::ParserProbModelXML ( FactoredDecPOMDPDiscrete problem = 0)

(default) Constructor

References DEBUG_PARSE.

Member Function Documentation

Member Data Documentation

bool ParserProbModelXML::_m_agentsInitialized
private

Whether or not agents have been found and initialized.

If no agent names are present in the file, the parser infers the team size by the number of action nodes and addresses everyone by their indexes.

std::vector<std::vector<std::string> > ParserProbModelXML::_m_ANames
private

Locally maintained action names.

std::vector<Scope> ParserProbModelXML::_m_AScopes_LRF
private
std::vector<Scope> ParserProbModelXML::_m_AScopes_O
private
std::vector<Scope> ParserProbModelXML::_m_AScopes_Y
private

whether or not this is an asynchronous model

Locally maintained action scopes for state factors, observations and lrfs.

std::vector<std::size_t> ParserProbModelXML::_m_ASizes
private

Locally maintained action sizes.

bool ParserProbModelXML::_m_asynchronousModel
private

The following variables are used for asynchronous models with factored actions.

Referenced by Parse().

FactoredDecPOMDPDiscrete* ParserProbModelXML::_m_fDecPOMDP
private

Referenced by Parse().