28 #ifndef GUM_GIBBS_SAMPLING_H 29 #define GUM_GIBBS_SAMPLING_H 51 template <
typename GUM_SCALAR >
114 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS ~GibbsSampling() override
Destructor.
This file contains Gibbs sampling (for BNs) class definitions.
GibbsSampling(const IBayesNet< GUM_SCALAR > *bn)
Default constructor.
void setBurnIn(Size b)
Number of burn in for one iteration.
Class representing the minimal interface for Bayesian Network.
Instantiation _draw(GUM_SCALAR *w, Instantiation prev) override
draws a sample given previous one according to Gibbs sampling
gum is the global namespace for all aGrUM entities
<agrum/BN/inference/gibbsSampling.h>
Size _burn_in
Number of iterations before checking stopping criteria.
Implementation of Gibbs Sampling for inference in Bayesian Networks.
This file contains general methods for simulation-oriented approximate inference. ...
Size burnIn() const
Returns the number of burn in.
Instantiation _monteCarloSample()
draws a Monte Carlo sample
Class for assigning/browsing values to tuples of discrete variables.
std::size_t Size
In aGrUM, hashed values are unsigned long int.
Instantiation _burnIn() override
draws a defined number of samples without updating the estimators
class containing all variables and methods required for Gibbssampling