MultiAgentDecisionProcess
FactoredQFunctionScopeForStage Class Reference

FactoredQFunctionScopeForStage represents a Scope for one stage of a factored QFunction. More...

#include <FactoredQFunctionScopeForStage.h>

Public Member Functions

void AddLocalQ (const Scope &sfacS, const Scope &agS)
 Add a local Q function scope component. More...
 
 FactoredQFunctionScopeForStage ()
 (default) Constructor More...
 
const ScopeGetAgentScope (Index lqf) const
 
size_t GetNrLQFs () const
 
const ScopeGetStateFactorScope (Index lqf) const
 
void RemoveLocalQ (Index j)
 Remove the j-th local Q function scope component. More...
 
std::string SoftPrint () const
 

Private Attributes

std::vector< Scope_m_agentScopes
 
std::vector< Scope_m_sfacScopes
 

Detailed Description

FactoredQFunctionScopeForStage represents a Scope for one stage of a factored QFunction.

Constructor & Destructor Documentation

FactoredQFunctionScopeForStage::FactoredQFunctionScopeForStage ( )

(default) Constructor

Member Function Documentation

void FactoredQFunctionScopeForStage::AddLocalQ ( const Scope sfacS,
const Scope agS 
)

Add a local Q function scope component.

References _m_agentScopes, and _m_sfacScopes.

Referenced by FactoredDecPOMDPDiscrete::GetImmediateRewardScopes().

const Scope& FactoredQFunctionScopeForStage::GetAgentScope ( Index  lqf) const
inline
size_t FactoredQFunctionScopeForStage::GetNrLQFs ( ) const
inline
const Scope& FactoredQFunctionScopeForStage::GetStateFactorScope ( Index  lqf) const
inline
void FactoredQFunctionScopeForStage::RemoveLocalQ ( Index  j)

Remove the j-th local Q function scope component.

References _m_agentScopes, and _m_sfacScopes.

string FactoredQFunctionScopeForStage::SoftPrint ( ) const

References _m_agentScopes, and _m_sfacScopes.

Member Data Documentation

std::vector< Scope > FactoredQFunctionScopeForStage::_m_agentScopes
private

Referenced by AddLocalQ(), RemoveLocalQ(), and SoftPrint().

std::vector< Scope > FactoredQFunctionScopeForStage::_m_sfacScopes
private

Referenced by AddLocalQ(), RemoveLocalQ(), and SoftPrint().