![]() |
aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
|
<agrum/BN/generator/simpleCPTGenerator.h> More...
#include <simpleCPTGenerator.h>
Public Member Functions | |
Constructors / Destructor | |
| SimpleCPTGenerator () | |
| Default constructor. | |
| ~SimpleCPTGenerator () override | |
| Destructor. | |
CPT generation methods | |
| void | generateCPT (const Idx &varId, const Tensor< GUM_SCALAR > &cpt) const override |
| Generates a CPT using floats. | |
<agrum/BN/generator/simpleCPTGenerator.h>
Class for generating Conditional Probability Tables.
This class implements a CPTGenerator CPT generation algorithm.
Definition at line 66 of file simpleCPTGenerator.h.
| INLINE gum::SimpleCPTGenerator< GUM_SCALAR >::SimpleCPTGenerator | ( | ) |
Default constructor.
Definition at line 57 of file simpleCPTGenerator_tpl.h.
References SimpleCPTGenerator().
Referenced by SimpleCPTGenerator(), and ~SimpleCPTGenerator().
|
override |
Destructor.
Definition at line 63 of file simpleCPTGenerator_tpl.h.
References SimpleCPTGenerator().
|
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 72 of file simpleCPTGenerator_tpl.h.