1 %feature("docstring") gum::ShaferShenoyLIMIDInference 2 " 3 This inference considers the provided model as a LIMID rather than an influence diagram. It is an optimized 4 implementation of the LIMID resolution algorithm. However an inference on a classical influence diagram can be performed 5 by adding a assumption of the existence of the sequence of decision nodes to be solved, which also implies that the 6 decision choices can have an impact on the rest of the sequence (Non Forgetting Assumption, 7 cf. pyAgrum.ShaferShenoyLIMIDInference.addNoForgettingAssumption). 8 " 9 10 %feature("docstring") gum::ShaferShenoyLIMIDInference::eraseAllEvidence 11 " 12 Removes all the evidence entered into the diagram. 13 " 14 15 %feature("docstring") gum::ShaferShenoyLIMIDInference::eraseEvidence 16 " 17 Parameters 18 ---------- 19 evidence : pyAgrum.Potential 20 the evidence to remove 21 22 Raises 23 ------ 24 pyAgrum.IndexError 25 If the evidence does not belong to the influence diagram 26 " 27 28 %feature("docstring") gum::ShaferShenoyLIMIDInference::optimalDecision 29 " 30 Returns best choice for decision variable given in parameter ( based upon MEU criteria ) 31 32 Parameters 33 ---------- 34 decisionId : int,str 35 the id or name of the decision variable 36 37 Raises 38 ------ 39 pyAgrum.OperationNotAllowed 40 If no inference have yet been made 41 pyAgrum.InvalidNode 42 If node given in parmaeter is not a decision node 43 " 44 45 %feature("docstring") gum::ShaferShenoyLIMIDInference::MEU 46 " 47 Returns maximum expected utility obtained from inference. 48 49 Raises 50 ------ 51 pyAgrum.OperationNotAllowed 52 If no inference have yet been made 53 " 54 55 %feature("docstring") gum::ShaferShenoyLIMIDInference::influenceDiagram 56 " 57 Returns a constant reference over the InfluenceDiagram on which this class work. 58 59 Returns 60 ------- 61 pyAgrum.InfluenceDiagram 62 the InfluenceDiagram on which this class work 63 " 64 65 %feature("docstring") gum::ShaferShenoyLIMIDInference::insertEvidence 66 " 67 Insert new evidence in the graph. 68 69 Parameters 70 ---------- 71 evidenceList : list 72 a list of potentials as evidences 73 74 Warnings 75 -------- 76 If an evidence already w.r.t. a given node and a new evidence w.r.t. this node is onserted, the old evidence is removed 77 78 Raises 79 ------ 80 pyAgrum.OperationNotAllowed 81 If an evidence is over more than one variable 82 " 83 84 85 %feature("docstring") gum::ShaferShenoyLIMIDInference::makeInference 86 " 87 Makes the inference. 88 " 89