30 #ifndef __CN_MC_SAMPLING__H__ 31 #define __CN_MC_SAMPLING__H__ 60 template <
typename GUM_SCALAR,
61 class BNInferenceEngine = LazyPropagation< GUM_SCALAR > >
100 inline void __binaryRep(std::vector< bool >& toFill,
const Idx value)
const;
136 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS void __mcThreadDataCopy()
Initialize threads data.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
void __insertEvidence()
Insert CredalNet evidence into a thread BNInferenceEngine.
virtual void insertEvidenceFile(const std::string &path)
Insert evidence from file.
virtual ~CNMonteCarloSampling()
Destructor.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
void __threadInference()
Thread performs an inference using BNInferenceEngine.
CNMonteCarloSampling(const CredalNet< GUM_SCALAR > &credalNet)
Constructor.
Class template representing a Credal Network.
void __threadUpdate()
Update thread data after a IBayesNet inference.
void makeInference()
Starts the inference.
void __mcInitApproximationScheme()
Initialize approximation Scheme.
void __verticesSampling()
Thread samples a IBayesNet from the CredalNet.
<agrum/CN/CNMonteCarloSampling.h>
const CredalNet< GUM_SCALAR > & credalNet()
Get this creadal network.
<agrum/BN/inference/lazyPropagation.h>
virtual void insertEvidenceFile(const std::string &path)
unsigned int notOptDelete;
Size Idx
Type for indexes.
Class template representing a CredalNet inference engine using one or more IBayesNet inference engine...
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
void __binaryRep(std::vector< bool > &toFill, const Idx value) const
Get the binary representation of a given value.