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> 59 template <
typename GUM_SCALAR,
99 inline void binaryRep__(std::vector<
bool >& toFill,
const Idx value)
const;
127 InferenceEngine< GUM_SCALAR >::insertEvidenceFile(path);
135 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 146 #include <agrum/CN/inference/CNMonteCarloSampling_tpl.h> void threadUpdate__()
Update thread data after a IBayesNet inference.
void verticesSampling__()
Thread samples a IBayesNet from the CredalNet.
INLINE void emplace(Args &&... args)
void mcThreadDataCopy__()
Initialize threads data.
virtual ~CNMonteCarloSampling()
Destructor.
void threadInference__()
Thread performs an inference using BNInferenceEngine.
void mcInitApproximationScheme__()
Initialize approximation Scheme.
void binaryRep__(std::vector< bool > &toFill, const Idx value) const
Get the binary representation of a given value.
CNMonteCarloSampling(const CredalNet< GUM_SCALAR > &credalNet)
Constructor.
void makeInference()
Starts the inference.
<agrum/CN/CNMonteCarloSampling.h>
virtual void insertEvidenceFile(const std::string &path)
unsigned int notOptDelete;
void insertEvidence__()
Insert CredalNet evidence into a thread BNInferenceEngine.
namespace for all credal networks entities