MultiAgentDecisionProcess
|
CPDDiscreteInterface is an abstract base class that represents a conditional probability distribution . More...
#include <CPDDiscreteInterface.h>
Public Member Functions | |
virtual CPDDiscreteInterface * | Clone () const =0 |
Returns a pointer to a copy of this class. More... | |
virtual double | Get (Index x, Index y) const =0 |
return the probability of x given y More... | |
virtual Index | Sample (Index y) const =0 |
Returns an (index of a) x drawn according to . More... | |
virtual void | SanityCheck () const =0 |
virtual void | Set (Index x, Index y, double p)=0 |
set the probability of x given y More... | |
virtual std::string | SoftPrint () const =0 |
virtual | ~CPDDiscreteInterface () |
Destructor. More... | |
CPDDiscreteInterface is an abstract base class that represents a conditional probability distribution .
The interface (so far) only implements Get. In the future
|
inlinevirtual |
Destructor.
|
pure virtual |
Returns a pointer to a copy of this class.
Implemented in CPT, and CPDKroneckerDelta.
Referenced by MultiAgentDecisionProcessDiscreteFactoredStates::RemoveStateFactor().
return the probability of x given y
Implemented in CPT, and CPDKroneckerDelta.
Returns an (index of a) x drawn according to .
Implemented in CPT, and CPDKroneckerDelta.
|
pure virtual |
Implemented in CPT, and CPDKroneckerDelta.
set the probability of x given y
Implemented in CPT, and CPDKroneckerDelta.
|
pure virtual |
Implemented in CPT, and CPDKroneckerDelta.