32 #define DEFAULT_VIRTUAL_LBP_SIZE 5000 37 template <
typename GUM_SCALAR,
template <
typename >
class APPROX >
46 template <
typename GUM_SCALAR,
template <
typename >
class APPROX >
52 template <
typename GUM_SCALAR,
template <
typename >
class APPROX >
55 for (
const auto x : this->hardEvidence()) {
60 if (!this->isSetEstimator) {
64 this->_loopApproxInference();
#define DEFAULT_VIRTUAL_LBP_SIZE
Class representing the minimal interface for Bayesian Network.
gum is the global namespace for all aGrUM entities
virtual void makeInference() final
perform the heavy computations needed to compute the targets' posteriors
virtual ~LoopySamplingInference()
destructor
virtual void addEvidence(NodeId id, const Idx val) final
adds a new hard evidence on node id
<agrum/BN/inference/loopyBeliefPropagation.h>
virtual void _makeInference()
makes the inference by generating samples w.r.t the mother class' sampling method after initalizing e...
LoopySamplingInference(const IBayesNet< GUM_SCALAR > *bn)
Default constructor.
GUM_SCALAR _virtualLBPSize
This file implements a Hybrid sampling class using LoopyBeliefPropagation and an approximate Inferenc...
<agrum/BN/inference/loopySamplingInference.h>