MultiAgentDecisionProcess
MultiAgentDecisionProcessDiscreteFactoredStates::BoundObservationProbFunctor< OF > Class Template Reference

The BoundObservationProbFunctor class binds the "ComputeObservationProb" function to a templated object. More...

#include <MultiAgentDecisionProcessDiscreteFactoredStates.h>

Inheritance diagram for MultiAgentDecisionProcessDiscreteFactoredStates::BoundObservationProbFunctor< OF >:
[legend]

Public Member Functions

 BoundObservationProbFunctor (OF *of_ptr, double(OF::*func_ptr)(Index, Index, const std::vector< Index > &, const std::vector< Index > &, const std::vector< Index > &, const std::vector< Index > &) const)
 
double operator() (Index o, Index oVal, const std::vector< Index > &Xs, const std::vector< Index > &As, const std::vector< Index > &Ys, const std::vector< Index > &Os) const
 
- Public Member Functions inherited from MultiAgentDecisionProcessDiscreteFactoredStates::ObservationProbFunctor
bool isEmpty ()
 
 ObservationProbFunctor (bool isEmpty=false)
 

Private Attributes

double(OF::* _m_func )(Index, Index, const std::vector< Index > &, const std::vector< Index > &, const std::vector< Index > &, const std::vector< Index > &) const
 
OF * _m_of
 

Detailed Description

template<class OF>
class MultiAgentDecisionProcessDiscreteFactoredStates::BoundObservationProbFunctor< OF >

The BoundObservationProbFunctor class binds the "ComputeObservationProb" function to a templated object.

Constructor & Destructor Documentation

template<class OF>
MultiAgentDecisionProcessDiscreteFactoredStates::BoundObservationProbFunctor< OF >::BoundObservationProbFunctor ( OF *  of_ptr,
double(OF::*)(Index, Index, const std::vector< Index > &, const std::vector< Index > &, const std::vector< Index > &, const std::vector< Index > &) const  func_ptr 
)
inline

Member Function Documentation

template<class OF>
double MultiAgentDecisionProcessDiscreteFactoredStates::BoundObservationProbFunctor< OF >::operator() ( Index  o,
Index  oVal,
const std::vector< Index > &  Xs,
const std::vector< Index > &  As,
const std::vector< Index > &  Ys,
const std::vector< Index > &  Os 
) const
inlinevirtual

Member Data Documentation

template<class OF>
double(OF::* MultiAgentDecisionProcessDiscreteFactoredStates::BoundObservationProbFunctor< OF >::_m_func)(Index, Index, const std::vector< Index > &, const std::vector< Index > &, const std::vector< Index > &, const std::vector< Index > &) const
private