30 #ifndef GUM_IMPORTANCE_INFERENCE_H 31 #define GUM_IMPORTANCE_INFERENCE_H 33 #include <agrum/BN/inference/tools/samplingInference.h> 50 template <
typename GUM_SCALAR >
95 void unsharpenBN_(BayesNetFragment< GUM_SCALAR >* bn,
float epsilon);
112 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 117 #include <agrum/BN/inference/importanceSampling_tpl.h> ~ImportanceSampling() override
Destructor.
ImportanceSampling(const IBayesNet< GUM_SCALAR > *bn)
Default constructor.
INLINE void emplace(Args &&... args)
void unsharpenBN_(BayesNetFragment< GUM_SCALAR > *bn, float epsilon)
modifies the cpts of a BN in order to tend to uniform distributions
Instantiation draw_(GUM_SCALAR *w, Instantiation prev) override
draws a sample according to Importance sampling
void onContextualize_(BayesNetFragment< GUM_SCALAR > *bn) override
fired when Bayesian network is contextualized
Instantiation burnIn_() override
draws a defined number of samples without updating the estimators