![]() |
aGrUM
0.16.0
|
<agrum/ID/inference/IInfluenceDiagramInference.h> More...
#include <IInfluenceDiagramInference.h>
Public Member Functions | |
IInfluenceDiagramInference (const InfluenceDiagram< GUM_SCALAR > &infDiag) | |
Default constructor. More... | |
virtual | ~IInfluenceDiagramInference () |
Destructor. More... | |
virtual void | makeInference ()=0 |
Makes the inference. More... | |
virtual void | insertEvidence (const List< const Potential< GUM_SCALAR > * > &evidenceList)=0 |
Insert new evidence in the graph. More... | |
virtual void | eraseEvidence (const Potential< GUM_SCALAR > *evidence)=0 |
Remove a given evidence from the graph. More... | |
virtual void | eraseAllEvidence ()=0 |
Remove all evidence from the graph. More... | |
const InfluenceDiagram< GUM_SCALAR > & | influenceDiagram () const |
Returns a constant reference over the InfluenceDiagram on which this class work. More... | |
virtual GUM_SCALAR | getMEU ()=0 |
Returns maximum expected utility obtained from inference. More... | |
virtual Idx | getBestDecisionChoice (NodeId decisionId)=0 |
Returns best choice for decision variable given in parameter ( based upon MEU criteria ) More... | |
Protected Attributes | |
const InfluenceDiagram< GUM_SCALAR > & | __infDiag |
The Bayes net we wish to perform inference on. More... | |
<agrum/ID/inference/IInfluenceDiagramInference.h>
Abstract base class for inference engines in influence diagrams.
Definition at line 46 of file IInfluenceDiagramInference.h.
|
explicit |
Default constructor.
|
virtual |
Destructor.
|
pure virtual |
Remove all evidence from the graph.
Implemented in gum::InfluenceDiagramInference< GUM_SCALAR >.
|
pure virtual |
Remove a given evidence from the graph.
Implemented in gum::InfluenceDiagramInference< GUM_SCALAR >.
|
pure virtual |
Returns best choice for decision variable given in parameter ( based upon MEU criteria )
decisionId | the id of the decision variable |
OperationNotAllowed | if no inference have yet been made |
InvalidNode | if node given in parmaeter is not a decision node |
Implemented in gum::InfluenceDiagramInference< GUM_SCALAR >.
|
pure virtual |
Returns maximum expected utility obtained from inference.
OperationNotAllowed | if no inference have yet been made |
Implemented in gum::InfluenceDiagramInference< GUM_SCALAR >.
const InfluenceDiagram< GUM_SCALAR >& gum::IInfluenceDiagramInference< GUM_SCALAR >::influenceDiagram | ( | ) | const |
Returns a constant reference over the InfluenceDiagram on which this class work.
|
pure virtual |
Insert new evidence in the graph.
OperationNotAllowed | Raised if an evidence is over more than one variable. |
Implemented in gum::InfluenceDiagramInference< GUM_SCALAR >.
|
pure virtual |
Makes the inference.
Implemented in gum::InfluenceDiagramInference< GUM_SCALAR >.
|
protected |
The Bayes net we wish to perform inference on.
Definition at line 111 of file IInfluenceDiagramInference.h.