aGrUM  0.16.0
IInfluenceDiagramInference_tpl.h
Go to the documentation of this file.
1 
29 // to ease parsers in IDE
31 
32 #ifndef DOXYGEN_SHOULD_SKIP_THIS
33 
34 namespace gum {
35 
36  // Default Constructor
37  template < typename GUM_SCALAR >
39  const InfluenceDiagram< GUM_SCALAR >& infDiag) :
40  __infDiag(infDiag) {
41  GUM_CONSTRUCTOR(IInfluenceDiagramInference);
42  }
43 
44  // Destructor
45  template < typename GUM_SCALAR >
47  GUM_DESTRUCTOR(IInfluenceDiagramInference);
48  }
49 
50  template < typename GUM_SCALAR >
51  const InfluenceDiagram< GUM_SCALAR >&
53  return __infDiag;
54  }
55 
56 } /* namespace gum */
57 
58 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
const InfluenceDiagram< GUM_SCALAR > & influenceDiagram() const
Returns a constant reference over the InfluenceDiagram on which this class work.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Definition: agrum.h:25
const InfluenceDiagram< GUM_SCALAR > & __infDiag
The Bayes net we wish to perform inference on.
IInfluenceDiagramInference(const InfluenceDiagram< GUM_SCALAR > &infDiag)
Default constructor.
virtual ~IInfluenceDiagramInference()
Destructor.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.