MultiAgentDecisionProcess
|
CPDKroneckerDelta implements a Kronecker delta-style CPD. More...
#include <CPDKroneckerDelta.h>
Public Member Functions | |
CPDKroneckerDelta * | Clone () const |
Returns a pointer to a copy of this class. More... | |
CPDKroneckerDelta () | |
Constructor. More... | |
double | Get (Index x, Index y) const |
Returns . More... | |
Index | Sample (Index y) const |
Returns an (index of a) x drawn according to . More... | |
void | SanityCheck () const |
void | Set (Index x, Index y, double prob) |
Sets P(x|y) More... | |
std::string | SoftPrint () const |
Public Member Functions inherited from CPDDiscreteInterface | |
virtual | ~CPDDiscreteInterface () |
Destructor. More... | |
CPDKroneckerDelta implements a Kronecker delta-style CPD.
Centers probability mass of 1 on x == y.
|
inline |
Constructor.
Referenced by Clone().
|
inlinevirtual |
Returns a pointer to a copy of this class.
Implements CPDDiscreteInterface.
References CPDKroneckerDelta().
Returns .
Implements CPDDiscreteInterface.
Returns an (index of a) x drawn according to .
Implements CPDDiscreteInterface.
|
inlinevirtual |
Implements CPDDiscreteInterface.
|
inlinevirtual |
Implements CPDDiscreteInterface.