MultiAgentDecisionProcess
|
ObservationModelDiscrete represents a discrete observation model. More...
#include <ObservationModelDiscrete.h>
Public Member Functions | |
virtual ObservationModelDiscrete * | Clone () const =0 |
Returns a pointer to a copy of this class. More... | |
ObservationModelDiscrete (int nrS=1, int nrJA=1, int nrJO=1) | |
Constructor with the dimensions of the observation model. More... | |
Index | SampleJointObservation (Index jaI, Index sucI) |
Sample a joint observation. More... | |
Index | SampleJointObservation (Index sI, Index jaI, Index sucI) |
Sample a joint observation. More... | |
std::string | SoftPrint () const |
SoftPrints tabular observation model. More... | |
virtual | ~ObservationModelDiscrete () |
Destructor. More... | |
Public Member Functions inherited from ObservationModelDiscreteInterface | |
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 | ~ObservationModel () |
Destructor. More... | |
Private Attributes | |
int | _m_nrJointActions |
The number of joint actions. More... | |
int | _m_nrJointObservations |
The number of joint observations. More... | |
int | _m_nrStates |
The number of states. More... | |
ObservationModelDiscrete represents a discrete observation model.
ObservationModelDiscrete::ObservationModelDiscrete | ( | int | nrS = 1 , |
int | nrJA = 1 , |
||
int | nrJO = 1 |
||
) |
Constructor with the dimensions of the observation model.
|
virtual |
Destructor.
|
pure virtual |
Returns a pointer to a copy of this class.
Implements ObservationModelDiscreteInterface.
Implemented in EventObservationModelMappingSparse, ObservationModelMappingSparse, EventObservationModelMapping, and ObservationModelMapping.
Referenced by MultiAgentDecisionProcessDiscrete::MultiAgentDecisionProcessDiscrete().
Sample a joint observation.
References _m_nrJointObservations, and ObservationModelDiscreteInterface::Get().
Referenced by MultiAgentDecisionProcessDiscrete::SampleJointObservation(), and MultiAgentDecisionProcessDiscreteFactoredStates::SampleJointObservation().
Sample a joint observation.
References _m_nrJointObservations, and ObservationModelDiscreteInterface::Get().
|
virtual |
SoftPrints tabular observation model.
Implements ObservationModel.
References _m_nrJointActions, _m_nrJointObservations, _m_nrStates, and ObservationModelDiscreteInterface::Get().
Referenced by TransitionObservationIndependentMADPDiscrete::CreateCentralizedObservationTransitionModel(), and MultiAgentDecisionProcessDiscrete::SoftPrint().
|
private |
The number of joint actions.
Referenced by SoftPrint().
|
private |
The number of joint observations.
Referenced by SampleJointObservation(), and SoftPrint().
|
private |
The number of states.
Referenced by SoftPrint().