29 #ifndef __CN_MC_SAMPLING__H__ 30 #define __CN_MC_SAMPLING__H__ 32 #include <agrum/CN/inference/multipleInferenceEngine.h> 35 #include <agrum/BN/inference/lazyPropagation.h> 97 inline void _binaryRep_(std::vector<
bool >& toFill,
const Idx value)
const;
125 InferenceEngine< GUM_SCALAR >::insertEvidenceFile(path);
133 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 143 #include <agrum/CN/inference/CNMonteCarloSampling_tpl.h> void _threadInference_()
Thread performs an inference using BNInferenceEngine.
INLINE void emplace(Args &&... args)
void _mcThreadDataCopy_()
Initialize threads data.
virtual ~CNMonteCarloSampling()
Destructor.
void _mcInitApproximationScheme_()
Initialize approximation Scheme.
CNMonteCarloSampling(const CredalNet< GUM_SCALAR > &credalNet)
Constructor.
void makeInference()
Starts the inference.
<agrum/CN/CNMonteCarloSampling.h>
void _binaryRep_(std::vector< bool > &toFill, const Idx value) const
Get the binary representation of a given value.
virtual void insertEvidenceFile(const std::string &path)
unsigned int notOptDelete;
void _verticesSampling_()
Thread samples a IBayesNet from the CredalNet.
void _insertEvidence_()
Insert CredalNet evidence into a thread BNInferenceEngine.
void _threadUpdate_()
Update thread data after a IBayesNet inference.
namespace for all credal networks entities