31 #ifndef GUM_IMPORTANCE_INFERENCE_H 32 #define GUM_IMPORTANCE_INFERENCE_H 51 template <
typename GUM_SCALAR >
113 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS ~ImportanceSampling() override
Destructor.
Instantiation _burnIn() override
draws a defined number of samples without updating the estimators
ImportanceSampling(const IBayesNet< GUM_SCALAR > *bn)
Default constructor.
Class representing the minimal interface for Bayesian Network.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Instantiation _draw(GUM_SCALAR *w, Instantiation prev) override
draws a sample according to Importance sampling
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Portion of a BN identified by the list of nodes and a BayesNet.
Class for assigning/browsing values to tuples of discrete variables.
void _unsharpenBN(BayesNetFragment< GUM_SCALAR > *bn, float epsilon)
modifies the cpts of a BN in order to tend to uniform distributions
double epsilon() const
Returns the value of epsilon.
void _onContextualize(BayesNetFragment< GUM_SCALAR > *bn) override
fired when Bayesian network is contextualized