56 template <
typename GUM_SCALAR >
62 template <
typename GUM_SCALAR >
71 template <
typename GUM_SCALAR >
73 const Tensor< GUM_SCALAR >& cpt)
const {
74 cpt.random().normalizeAsCPT(varId);
void generateCPT(const Idx &varId, const Tensor< GUM_SCALAR > &cpt) const override
Generates a CPT using floats.
SimpleCPTGenerator()
Default constructor.
~SimpleCPTGenerator() override
Destructor.
Size Idx
Type for indexes.
gum is the global namespace for all aGrUM entities
Abstract class for generating Conditional Probability Tables.