Home
last modified time | relevance | path

Searched refs:isDecisionNode (Results 1 – 13 of 13) sorted by relevance

/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/wrappers/pyAgrum/testunits/tests/
H A DInfluenceDiagramTestSuite.py54 self.assertTrue(self.diag.isDecisionNode("D1"))
55 self.assertTrue(self.diag.isDecisionNode("D2"))
56 self.assertTrue(self.diag.isDecisionNode("D3"))
57 self.assertTrue(self.diag.isDecisionNode("D4"))
70 self.assertFalse(self.diag.isDecisionNode("C1"))
71 self.assertFalse(self.diag.isDecisionNode("U1"))
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/testunits/module_ID/
H A DBIFXMLIDReaderTestSuite.h128 TS_ASSERT(net->isDecisionNode(decisionVar1Id)) in testRead_file2_float()
138 TS_ASSERT(net->isDecisionNode(decisionVar2Id)) in testRead_file2_float()
148 TS_ASSERT(net->isDecisionNode(decisionVar3Id)) in testRead_file2_float()
158 TS_ASSERT(net->isDecisionNode(decisionVar4Id)) in testRead_file2_float()
168 TS_ASSERT(!net->isDecisionNode(chanceVar1Id)) in testRead_file2_float()
178 TS_ASSERT(!net->isDecisionNode(chanceVar2Id)) in testRead_file2_float()
188 TS_ASSERT(!net->isDecisionNode(chanceVar3Id)) in testRead_file2_float()
198 TS_ASSERT(!net->isDecisionNode(chanceVar4Id)) in testRead_file2_float()
208 TS_ASSERT(!net->isDecisionNode(chanceVar5Id)) in testRead_file2_float()
218 TS_ASSERT(!net->isDecisionNode(utilityVar1Id)) in testRead_file2_float()
[all …]
H A DInfluenceDiagramTestSuite.h158 TS_ASSERT(topology.isDecisionNode(idList[0])) in testNodeType()
159 TS_ASSERT(topology.isDecisionNode(idList[1])) in testNodeType()
160 TS_ASSERT(topology.isDecisionNode(idList[2])) in testNodeType()
161 TS_ASSERT(topology.isDecisionNode(idList[3])) in testNodeType()
162 TS_ASSERT(!topology.isDecisionNode(idList[4])) in testNodeType()
163 TS_ASSERT(!topology.isDecisionNode(idList[5])) in testNodeType()
164 TS_ASSERT(!topology.isDecisionNode(idList[6])) in testNodeType()
165 TS_ASSERT(!topology.isDecisionNode(idList[7])) in testNodeType()
166 TS_ASSERT(!topology.isDecisionNode(idList[8])) in testNodeType()
167 TS_ASSERT(!topology.isDecisionNode(idList[9])) in testNodeType()
[all …]
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/wrappers/pyAgrum/pyLibs/lib/
H A Did2graph.py67 if diag.isDecisionNode(node):
86 if diag.isDecisionNode(chi):
150 elif diag.isDecisionNode(nid):
198 if diag.isDecisionNode(chi):
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/agrum/ID/
H A DinfluenceDiagram.h157 bool isDecisionNode(NodeId varId) const;
158 bool isDecisionNode(const std::string& name) const { return isDecisionNode(idFromName(name)); }; in isDecisionNode() function
H A DinfluenceDiagram_tpl.h348 if (isDecisionNode(chi)) { arcstream << " [style=\"tapered, bold\"]"; } in toDot()
418 INLINE bool InfluenceDiagram< GUM_SCALAR >::isDecisionNode(NodeId varId) const { in isDecisionNode() function
731 if (!isDecisionNode(node)) in moralGraph_()
751 while ((orderIter != order.end()) && (!isDecisionNode(*orderIter))) in decisionOrderExists()
761 if (isDecisionNode(*orderIter)) { in decisionOrderExists()
815 if (isDecisionNode(node)) { in getDecisionGraph()
857 if (!isDecisionNode(new_one)) in getChildrenDecision_()
878 if (isDecisionNode(elt)) decisionSequence.push_back(elt); in decisionOrder()
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/agrum/ID/inference/
H A DShaferShenoyLIMIDInference_tpl.h73 if (infdiag.isDecisionNode(id)) { in onEvidenceAdded_()
154 if (infdiag.isDecisionNode(node)) { in initializingInference_()
251 if (!infdiag.isDecisionNode(decisionId)) in optimalDecision()
384 if (infdiag.isDecisionNode(elt)) reversePartialOrder_[level[elt]].insert(elt); in _creatingPartialOrder_()
396 if (infdiag.isDecisionNode(child)) newl += 1; in _creatingPartialOrder_()
445 if (!infdiag.isDecisionNode(node)) in addNoForgettingAssumption()
460 if (!infdiag.isDecisionNode(d)) GUM_ERROR(TypeError, d << " is not a decision node") in nonRequisiteNodes_()
496 else if (infdiag.isDecisionNode(node)) in reducedLIMID()
732 } else if (infdiag.isDecisionNode(node)) { in computingPosteriors_()
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/agrum/ID/generator/
H A DinfluenceDiagramGenerator_tpl.h161 while ((orderIter != order.end()) && (!infdiag->isDecisionNode(*orderIter))) in _checkTemporalOrder_()
171 if (infdiag->isDecisionNode(*orderIter)) { in _checkTemporalOrder_()
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/wrappers/pyAgrum/doc/
H A Ddoc_InfluenceDiagram.i334 %feature("docstring") gum::InfluenceDiagram::isDecisionNode
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/agrum/ID/io/BIFXML/
H A DBIFXMLIDWriter_tpl.h211 if (!((infdiag.isDecisionNode(varNodeId)) && (infdiag.parents(varNodeId).empty()))) { in _variableDefinition_()
H A DBIFXMLIDReader_tpl.h192 if (!_infdiag_->isDecisionNode(currentVarId)) { in _fillingDiagram_()
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/wrappers/pyAgrum/generated-files/
H A DpyAgrum.py22700 def isDecisionNode(self, *args) -> bool: member in InfluenceDiagram
H A DpyAgrumPYTHON_wrap.cxx120254 result = (bool)((gum::InfluenceDiagram< double > const *)arg1)->isDecisionNode(arg2); in _wrap_InfluenceDiagram_isDecisionNode__SWIG_0()
120295 …result = (bool)((gum::InfluenceDiagram< double > const *)arg1)->isDecisionNode((std::string const … in _wrap_InfluenceDiagram_isDecisionNode__SWIG_1()