30 #ifndef GUM_WEIGHTED_INFERENCE_H 31 #define GUM_WEIGHTED_INFERENCE_H 33 #include <agrum/BN/inference/tools/samplingInference.h> 49 template <
typename GUM_SCALAR >
82 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 87 #include <agrum/BN/inference/weightedSampling_tpl.h> WeightedSampling(const IBayesNet< GUM_SCALAR > *bn)
Default constructor.
~WeightedSampling() override
Destructor.
Instantiation burnIn_() override
draws a defined number of samples without updating the estimators
INLINE void emplace(Args &&... args)
Instantiation draw_(GUM_SCALAR *w, Instantiation prev) override
draws a sample according to Weighted sampling