aGrUM  0.16.0
evidenceInference.h
Go to the documentation of this file.
1 
31 #ifndef GUM_BAYES_NET_EVIDENCE_INFERENCE_H
32 #define GUM_BAYES_NET_EVIDENCE_INFERENCE_H
33 
35 #include <agrum/agrum.h>
36 
37 
38 namespace gum {
39 
40 
51  template < typename GUM_SCALAR >
52  class EvidenceInference : public virtual BayesNetInference< GUM_SCALAR > {
53  public:
54  // ############################################################################
56  // ############################################################################
58 
60 
62  explicit EvidenceInference(const IBayesNet< GUM_SCALAR >* bn);
63 
65  virtual ~EvidenceInference();
66 
68 
69 
70  // ############################################################################
72  // ############################################################################
74 
76  virtual GUM_SCALAR evidenceProbability() = 0;
77 
79  };
80 
81 
82 } // namespace gum
83 
84 
86 
87 
88 #endif // GUM_BAYES_NET_EVIDENCE_INFERENCE_H
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Definition: agrum.h:25
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
virtual GUM_SCALAR evidenceProbability()=0
returns the probability P(e) of the evidence enterred into the BN
virtual ~EvidenceInference()
destructor
EvidenceInference(const IBayesNet< GUM_SCALAR > *bn)
default constructor