Home
last modified time | relevance | path

Searched refs:DuplicateElement (Results 1 – 25 of 70) sorted by relevance

123

/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/agrum/tools/core/
H A DbinTreeNode_tpl.h125 GUM_ERROR(DuplicateElement, "this child already has a parent in the BST") in insertLeftChild()
129 GUM_ERROR(DuplicateElement, "this child already has a parent in the BST") in insertLeftChild()
141 GUM_ERROR(DuplicateElement, "this child already has a parent in the BST") in insertLeftChild()
157 GUM_ERROR(DuplicateElement, "this child already has a parent in the BST") in insertRightChild()
161 GUM_ERROR(DuplicateElement, "this node already has a right child") in insertRightChild()
173 GUM_ERROR(DuplicateElement, "this node already has a right child") in insertRightChild()
188 if (new_child.parent_) { GUM_ERROR(DuplicateElement, "this child has already a parent") } in insertChild()
191 GUM_ERROR(DuplicateElement, "this node has already this child") in insertChild()
203 GUM_ERROR(DuplicateElement, "this node has already this child") in insertChild()
H A DindexedTree_tpl.h174 GUM_ERROR(DuplicateElement, "the indexed tree already contains the node") in insertNode()
187 GUM_ERROR(DuplicateElement, "the indexed tree already contains the node") in insertNode()
224 GUM_ERROR(DuplicateElement, "the indexed tree already contains the node") in insertNode()
236 GUM_ERROR(DuplicateElement, "the indexed tree already contains the node") in insertNode()
H A Dexceptions.h254 class DuplicateElement; variable
465 GUM_MAKE_ERROR(DuplicateElement, ArgumentError, "Duplicate element")
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/agrum/FMDP/
H A Dfmdp_tpl.h118 GUM_ERROR(DuplicateElement, in addVariable()
145 if (actionId == 0) GUM_ERROR(DuplicateElement, " Action Id 0 is reserved.") in addAction()
151 GUM_ERROR(DuplicateElement, in addAction()
155 GUM_ERROR(DuplicateElement, in addAction()
194 GUM_ERROR(DuplicateElement, in addTransitionForAction()
240 GUM_ERROR(DuplicateElement, " Action " << actionName(actionId) << " already has a cost table") in addCostForAction()
280 GUM_ERROR(DuplicateElement, in addRewardForAction()
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/testunits/module_BASE/
H A DBijectionTestSuite.h44 TS_ASSERT_THROWS(bijection.insert(5, 6), gum::DuplicateElement) in test_constructors1()
45 TS_ASSERT_THROWS(bijection.insert(5, 7), gum::DuplicateElement) in test_constructors1()
46 TS_ASSERT_THROWS(bijection.insert(7, 6), gum::DuplicateElement) in test_constructors1()
93 TS_ASSERT_THROWS(bijection.insert("b", "d"), gum::DuplicateElement) in test_constructors2()
94 TS_ASSERT_THROWS(bijection.insert("b", "bb"), gum::DuplicateElement) in test_constructors2()
95 TS_ASSERT_THROWS(bijection.insert("e", "bc"), gum::DuplicateElement) in test_constructors2()
260 } catch (gum::DuplicateElement&) {} in test_ph()
485 TS_ASSERT_THROWS(bijection.insert((int*)5, (int*)6), gum::DuplicateElement) in test_constructorsStar()
486 TS_ASSERT_THROWS(bijection.insert((int*)5, (int*)7), gum::DuplicateElement) in test_constructorsStar()
487 TS_ASSERT_THROWS(bijection.insert((int*)7, (int*)6), gum::DuplicateElement) in test_constructorsStar()
[all …]
H A DIntegerVariableTestSuite.h135 TS_ASSERT_THROWS(var1.addValue(2), gum::DuplicateElement) in testAll()
136 TS_ASSERT_THROWS(var1.addValue(4), gum::DuplicateElement) in testAll()
137 TS_ASSERT_THROWS(var1.addValue(6), gum::DuplicateElement) in testAll()
138 TS_ASSERT_THROWS(var1.addValue(8), gum::DuplicateElement) in testAll()
175 TS_ASSERT_THROWS(var1.changeValue(12, 10), gum::DuplicateElement) in testAll()
H A DLabelizedVariableTestSuite.h58 TS_ASSERT_THROWS(var1.addLabel("3"), gum::DuplicateElement) in testLabels()
83 TS_ASSERT_THROWS(var1.changeLabel(0, "x"), gum::DuplicateElement) in testChangeLabel()
H A DNodeGraphPartTestSuite.h54 TS_ASSERT_THROWS(ngp.addNodeWithId(next2 + 1), gum::DuplicateElement) in testInsertion()
69 TS_ASSERT_THROWS(ngp.addNodeWithId(id3), gum::DuplicateElement) in testSuppression()
162 TS_ASSERT_THROWS(ngp.addNodeWithId(f), gum::DuplicateElement) in testInsertionForcee()
H A DScheduleMultiDimTestSuite.h90 TS_ASSERT_THROWS(f3.setMultiDim(*pot2.content()), gum::DuplicateElement) in test_construct()
H A DSequenceTestSuite.h212 TS_ASSERT_THROWS(seq.insert("ddd"), gum::DuplicateElement) in testGettersAndSetters()
213 TS_ASSERT_THROWS(seq << "ddd", gum::DuplicateElement) in testGettersAndSetters()
230 TS_ASSERT_THROWS(seq.setAtPos(1, "aaaa"), gum::DuplicateElement) in testGettersAndSetters()
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/agrum/PRM/
H A DPRMFactory_tpl.h798 } catch (DuplicateElement&) { in addAggregator()
1163 GUM_ERROR(DuplicateElement, in _retrieveType_()
1181 GUM_ERROR(DuplicateElement, in _retrieveType_()
1212 GUM_ERROR(DuplicateElement, in _retrieveClass_()
1228 GUM_ERROR(DuplicateElement, in _retrieveClass_()
1259 GUM_ERROR(DuplicateElement, in _retrieveInterface_()
1277 GUM_ERROR(DuplicateElement, in _retrieveInterface_()
1387 } catch (DuplicateElement&) { in addLabel()
1650 } catch (DuplicateElement&) { in addInstance()
1823 } catch (DuplicateElement&) {} in isClassOrInterface()
[all …]
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/agrum/tools/multidim/implementations/
H A DmultiDimInterface_inl.h38 if (contains(y)) { GUM_ERROR(DuplicateElement, "variable " << y << " already in MultiDim") } in replace()
H A DmultiDimImplementation_tpl.h77 GUM_ERROR(DuplicateElement, "Var " << v.name() << " already exists in this instantiation") in add()
81 GUM_ERROR(DuplicateElement, in add()
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/agrum/tools/graphs/parts/
H A DnodeGraphPart_tpl.h59 GUM_ERROR(DuplicateElement, new_one << " already exists in the graph") in populateNodesFromProperty()
H A DnodeGraphPart.cpp147 GUM_ERROR(DuplicateElement, "Id " << id << " is already used") in addNodeWithId()
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/agrum/tools/graphs/algorithms/triangulations/
H A DstaticTriangulation.cpp439 } catch (DuplicateElement&) {} in _computeMaxPrimeJunctionTree_()
450 } catch (DuplicateElement&) {} in _computeMaxPrimeJunctionTree_()
493 } catch (DuplicateElement&) {} in triangulatedGraph()
696 } catch (DuplicateElement&) {} in fillIns()
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/wrappers/pyAgrum/swigsrc/
H A Dexceptions.i40 PYGUM_CATCH(DuplicateElement) in SetPythonizeAgrumException()
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/agrum/PRM/inference/
H A DstructuredInference_tpl.h349 } catch (DuplicateElement&) { in _buildPatternGraph_()
410 } catch (DuplicateElement&) {} in _removeBarrenNodes_()
438 } catch (DuplicateElement&) {} in _removeBarrenNodes_()
529 } catch (DuplicateElement&) { in _translatePotSet_()
557 } catch (NotFound&) { GUM_ASSERT(bij.existsFirst(v)); } catch (DuplicateElement&) { in _translatePotSet_()
721 } catch (DuplicateElement&) {} in _addEdgesInReducedGraph_()
755 } catch (DuplicateElement&) {} in _addEdgesInReducedGraph_()
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/agrum/BN/
H A DBayesNetFactory_tpl.h46 GUM_ERROR(DuplicateElement, "Name already used: " << bn->variable(node).name()) in BayesNetFactory()
181 if (_varNameMap_.exists(name)) { GUM_ERROR(DuplicateElement, "Name already used: " << name) } in variableName()
779 GUM_ERROR(DuplicateElement, "Name already used: " << var.name()) in setVariable()
912 if (mod == _stringBag_[i]) { GUM_ERROR(DuplicateElement, "Label already used: " << mod) } in _checkModalityInBag_()
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/agrum/PRM/elements/
H A DPRMScalarAttribute_tpl.h145 } catch (DuplicateElement&) { in addParent()
146 GUM_ERROR(DuplicateElement, elt.name() << " as parent of " << this->name()) in addParent()
H A DPRMClass_tpl.h492 GUM_ERROR(DuplicateElement, "duplicate arc " << tail_name << "->" << head_name) in addArc()
595 GUM_ERROR(DuplicateElement, in add()
606 } catch (DuplicateElement& e) { in add()
609 throw DuplicateElement(e); in add()
714 GUM_ERROR(DuplicateElement, "dupplicate ClassElement " << overloader->name()) in overload()
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/agrum/tools/variables/
H A DintegerVariable_inl.h144 GUM_ERROR(DuplicateElement, in changeValue()
H A DlabelizedVariable_inl.h65 if (isLabel(aLabel)) GUM_ERROR(DuplicateElement, "Label '" << aLabel << "' already exists") in changeLabel()
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/agrum/tools/graphicalModels/
H A DvariableNodeMap_inl.h83 GUM_ERROR(DuplicateElement, "Unable to insert a new variable with id " << id << ".") in insert()
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/testunits/module_PRM/
H A DPRMInterfaceTestSuite.h208 TS_ASSERT_THROWS(c.add(attr), gum::DuplicateElement) in testAddDuplicate()
340 TS_ASSERT_THROWS(sub_c.overload(state), gum::DuplicateElement) in testOverloadAttributeDuplicateElement()
373 TS_ASSERT_THROWS(sub_c.overload(state), gum::DuplicateElement) in testOverloadAttributeWithSeveralCastDescendantsDuplicate()

123