MultiAgentDecisionProcess
|
ObservationModelDiscreteInterface represents a discrete observation model. More...
#include <ObservationModelDiscreteInterface.h>
Public Member Functions | |
virtual ObservationModelDiscreteInterface * | Clone () const =0 |
Returns a pointer to a copy of this class. More... | |
virtual double | Get (Index ja_i, Index suc_s_i, Index jo_i) const =0 |
Returns P(jo|ja,s') More... | |
virtual double | Get (Index s_i, Index ja_i, Index suc_s_i, Index jo_i) const |
ObservationModelDiscreteInterface () | |
Constructor with the dimensions of the observation model. More... | |
virtual void | Set (Index ja_i, Index suc_s_i, Index jo_i, double prob)=0 |
Sets P(o|ja,s') More... | |
virtual void | Set (Index s_i, Index ja_i, Index suc_s_i, Index jo_i, double prob) |
virtual | ~ObservationModelDiscreteInterface () |
Destructor. More... | |
Public Member Functions inherited from ObservationModel | |
ObservationModel () | |
default Constructor More... | |
void | Print () const |
virtual std::string | SoftPrint () const =0 |
virtual | ~ObservationModel () |
Destructor. More... | |
ObservationModelDiscreteInterface represents a discrete observation model.
|
inline |
Constructor with the dimensions of the observation model.
|
inlinevirtual |
Destructor.
|
pure virtual |
Returns a pointer to a copy of this class.
Implements ObservationModel.
Implemented in EventObservationModelMappingSparse, ObservationModelMappingSparse, EventObservationModelMapping, ObservationModelMapping, and ObservationModelDiscrete.
|
pure virtual |
Returns P(jo|ja,s')
Implemented in EventObservationModelMappingSparse, ObservationModelMappingSparse, EventObservationModelMapping, and ObservationModelMapping.
Referenced by Get(), MultiAgentDecisionProcessDiscrete::GetObservationProbability(), MultiAgentDecisionProcessDiscreteFactoredStates::GetObservationProbability(), MultiAgentDecisionProcessDiscreteFactoredStates::MarginalizeTransitionObservationModel(), ObservationModelDiscrete::SampleJointObservation(), ObservationModelDiscrete::SoftPrint(), and JointBeliefSparse::Update().
|
inlinevirtual |
Reimplemented in EventObservationModelMappingSparse, and EventObservationModelMapping.
References Get().
|
pure virtual |
Sets P(o|ja,s')
Index jo_i, Index ja_i, Index suc_s_i, are indices of the joint observation, taken joint action and resulting successor state. prob is the probability. The order of events is ja, s', o, so is the arg. list
Implemented in EventObservationModelMappingSparse, ObservationModelMappingSparse, EventObservationModelMapping, and ObservationModelMapping.
Referenced by MultiAgentDecisionProcessDiscreteFactoredStates::CacheFlatObservationModel(), TransitionObservationIndependentMADPDiscrete::CreateCentralizedFullModels(), TransitionObservationIndependentMADPDiscrete::CreateCentralizedObservationTransitionModel(), MultiAgentDecisionProcessDiscreteFactoredStates::MarginalizeTransitionObservationModel(), Set(), and MultiAgentDecisionProcessDiscrete::SetObservationProbability().
|
inlinevirtual |
Reimplemented in EventObservationModelMappingSparse, and EventObservationModelMapping.
References Set().