30 #ifndef GUM_GIBBS_SAMPLING_H 31 #define GUM_GIBBS_SAMPLING_H 33 #include <agrum/BN/inference/tools/gibbsOperator.h> 34 #include <agrum/BN/inference/tools/samplingInference.h> 53 template <
typename GUM_SCALAR >
114 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 119 #include <agrum/BN/inference/GibbsSampling_tpl.h> ~GibbsSampling() override
Destructor.
GibbsSampling(const IBayesNet< GUM_SCALAR > *bn)
Default constructor.
INLINE void emplace(Args &&... args)
void setBurnIn(Size b)
Number of burn in for one iteration.
<agrum/BN/inference/gibbsSampling.h>
Instantiation draw_(GUM_SCALAR *w, Instantiation prev) override
draws a sample given previous one according to Gibbs sampling
Size burnIn() const
Returns the number of burn in.
Instantiation monteCarloSample_()
draws a Monte Carlo sample
Instantiation burnIn_() override
draws a defined number of samples without updating the estimators