MultiAgentDecisionProcess
POMDPFormatParsing::ParserPOMDPFormat_Spirit::StoreLPJointAction Struct Reference

Public Member Functions

void MatchingJointActions (Index curAgent, std::vector< Index > indIndices) const
 This function constructs the vector (_m_lp_JAI) of joint actions that match with the vector with individual action indices. More...
 
void operator() (iterator_t str, iterator_t end) const
 
void operator() (const unsigned int &) const
 
void Store () const
 
 StoreLPJointAction (ParserPOMDPFormat_Spirit *po, bool b=false)
 

Public Attributes

bool _m_isJointActionIndex
 
ParserPOMDPFormat_Spirit_m_po
 

Constructor & Destructor Documentation

POMDPFormatParsing::ParserPOMDPFormat_Spirit::StoreLPJointAction::StoreLPJointAction ( ParserPOMDPFormat_Spirit po,
bool  b = false 
)
inline

Member Function Documentation

void POMDPFormatParsing::ParserPOMDPFormat_Spirit::StoreLPJointAction::MatchingJointActions ( Index  curAgent,
std::vector< Index indIndices 
) const

This function constructs the vector (_m_lp_JAI) of joint actions that match with the vector with individual action indices.

This is needed to properly deal with wild cards; a single action specification in the (d)pomdp file may correspond to manu (joint) actions.

References DEBUG_POMDP_PARSE, and E::SoftPrint().

void POMDPFormatParsing::ParserPOMDPFormat_Spirit::StoreLPJointAction::operator() ( iterator_t  str,
iterator_t  end 
) const
inline
void POMDPFormatParsing::ParserPOMDPFormat_Spirit::StoreLPJointAction::operator() ( const unsigned int &  ) const
inline
void POMDPFormatParsing::ParserPOMDPFormat_Spirit::StoreLPJointAction::Store ( ) const

Member Data Documentation

bool POMDPFormatParsing::ParserPOMDPFormat_Spirit::StoreLPJointAction::_m_isJointActionIndex
ParserPOMDPFormat_Spirit* POMDPFormatParsing::ParserPOMDPFormat_Spirit::StoreLPJointAction::_m_po