|
MultiAgentDecisionProcess
|
TransitionModelDiscrete represents a discrete transition model. More...
#include <TransitionModelDiscrete.h>
Public Member Functions | |
| virtual TransitionModelDiscrete * | Clone () const =0 |
| Returns a pointer to a copy of this class. More... | |
| Index | SampleSuccessorState (Index sI, Index jaI) |
| Sample a successor state. More... | |
| std::string | SoftPrint () const |
| SoftPrints tabular transition model. More... | |
| TransitionModelDiscrete (int nrS=1, int nrJA=1) | |
| Constructor with the dimensions of the transition model. More... | |
| virtual | ~TransitionModelDiscrete () |
Public Member Functions inherited from TransitionModelDiscreteInterface | |
| virtual double | Get (Index sI, Index jaI, Index sucSI) const =0 |
| Returns P(s'|s,ja). More... | |
| virtual void | Set (Index sI, Index jaI, Index sucSI, double prob)=0 |
| Sets P(s'|s,ja) More... | |
| TransitionModelDiscreteInterface () | |
| Constructor. More... | |
| virtual | ~TransitionModelDiscreteInterface () |
Public Member Functions inherited from TransitionModel | |
| void | Print () const |
| TransitionModel () | |
| default Constructor More... | |
| virtual | ~TransitionModel () |
| Destructor. More... | |
Private Attributes | |
| int | _m_nrJointActions |
| The number of joint actions. More... | |
| int | _m_nrStates |
| The number of states. More... | |
TransitionModelDiscrete represents a discrete transition model.
| TransitionModelDiscrete::TransitionModelDiscrete | ( | int | nrS = 1, |
| int | nrJA = 1 |
||
| ) |
Constructor with the dimensions of the transition model.
|
virtual |
|
pure virtual |
Returns a pointer to a copy of this class.
Implements TransitionModelDiscreteInterface.
Implemented in TransitionModelMappingSparse, and TransitionModelMapping.
Referenced by MultiAgentDecisionProcessDiscrete::MultiAgentDecisionProcessDiscrete().
Sample a successor state.
References _m_nrStates, and TransitionModelDiscreteInterface::Get().
Referenced by MultiAgentDecisionProcessDiscrete::SampleSuccessorState(), and MultiAgentDecisionProcessDiscreteFactoredStates::SampleSuccessorState().
|
virtual |
SoftPrints tabular transition model.
Implements TransitionModel.
References _m_nrJointActions, _m_nrStates, and TransitionModelDiscreteInterface::Get().
Referenced by TransitionObservationIndependentMADPDiscrete::CreateCentralizedSparseTransitionModel(), and MultiAgentDecisionProcessDiscrete::SoftPrint().
|
private |
The number of joint actions.
Referenced by SoftPrint().
|
private |
The number of states.
Referenced by SampleSuccessorState(), and SoftPrint().