![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
<agrum/BN/generator/simpleCPTGenerator.h> More...
#include <simpleCPTGenerator.h>
Inherits gum::ICPTGenerator< GUM_SCALAR >.
Public Member Functions | |
Constructors / Destructor | |
SimpleCPTGenerator () | |
Default constructor. More... | |
~SimpleCPTGenerator () override | |
Destructor. More... | |
CPT generation methods | |
void | generateCPT (const Idx &varId, const Potential< GUM_SCALAR > &cpt) override |
Generates a CPT using floats. More... | |
<agrum/BN/generator/simpleCPTGenerator.h>
Class for generating Conditional Probability Tables.
This class implements a CPTGenerator CPT generation algorithm.
Definition at line 45 of file simpleCPTGenerator.h.
INLINE gum::SimpleCPTGenerator< GUM_SCALAR >::SimpleCPTGenerator | ( | ) |
Default constructor.
Definition at line 36 of file simpleCPTGenerator_tpl.h.
References gum::Set< Key, Alloc >::emplace().
|
override |
Destructor.
Definition at line 42 of file simpleCPTGenerator_tpl.h.
References gum::Set< Key, Alloc >::emplace().
|
override |
Generates a CPT using floats.
varId | The variable id of the CPT owner. |
cpt | A reference on the CPT to fill. |
Definition at line 51 of file simpleCPTGenerator_tpl.h.
References gum::Set< Key, Alloc >::emplace().