30 #include <agrum/BN/BayesNetFragment.h> 31 #include <agrum/BN/algorithms/barrenNodesFinder.h> 32 #include <agrum/BN/algorithms/dSeparation.h> 33 #include <agrum/BN/inference/tools/samplingInference.h> 36 #define DEFAULT_MAXITER 10000000
37 #define DEFAULT_PERIOD_SIZE 100
38 #define DEFAULT_VERBOSITY false 39 #define DEFAULT_TIMEOUT 6000
40 #define DEFAULT_EPSILON 1e-2
41 #define DEFAULT_MIN_EPSILON_RATE 1e-5
46 template <
typename GUM_SCALAR >
47 SamplingInference< GUM_SCALAR >::SamplingInference(
48 const IBayesNet< GUM_SCALAR >* bn) :
49 ApproximateInference< GUM_SCALAR >(bn),
50 estimator__(), samplingBN__(
nullptr) {
57 GUM_CONSTRUCTOR(SamplingInference);
INLINE void emplace(Args &&... args)
#define DEFAULT_PERIOD_SIZE
#define DEFAULT_MIN_EPSILON_RATE
#define DEFAULT_VERBOSITY