/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/agrum/tools/multidim/utils/operators/ |
H A D | projections4MultiDim.h | 64 const Set< const DiscreteVariable* >& del_vars); 86 const Set< const DiscreteVariable* >& del_vars); 158 const Set< const DiscreteVariable* >& del_vars); 180 const Set< const DiscreteVariable* >& del_vars); 252 const Set< const DiscreteVariable* >& del_vars); 274 const Set< const DiscreteVariable* >& del_vars); 346 const Set< const DiscreteVariable* >& del_vars); 653 const Set< const DiscreteVariable* >& del_vars); 659 const Set< const DiscreteVariable* >& del_vars); 665 const Set< const DiscreteVariable* >& del_vars); [all …]
|
H A D | multiDimProjection_tpl.h | 73 const Set< const DiscreteVariable* >& del_vars) { in project() 74 return proj_(table, del_vars); in project() 82 const Set< const TABLE< GUM_SCALAR >* >& del_vars) { in project() 83 TABLE< GUM_SCALAR >* res = project(table, del_vars); in project() 108 const Set< const DiscreteVariable* >& del_vars) const { in nbOperations() 117 const Set< const DiscreteVariable* >& del_vars) const { in nbOperations() 133 const Set< const DiscreteVariable* >& del_vars) const { in memoryUsage() 139 if (!del_vars.contains(*iter)) { in memoryUsage() 155 const Set< const DiscreteVariable* >& del_vars) const { in memoryUsage() 156 return memoryUsage(table.variablesSequence(), del_vars); in memoryUsage()
|
H A D | multiDimProjection.h | 131 const Set< const DiscreteVariable* >& del_vars); 135 const Set< const TABLE< GUM_SCALAR >* >& del_vars); 150 const Set< const DiscreteVariable* >& del_vars) const; 157 const Set< const DiscreteVariable* >& del_vars) const; 172 const Set< const DiscreteVariable* >& del_vars) const; 187 const Set< const DiscreteVariable* >& del_vars) const;
|
H A D | multiDimCombineAndProjectDefault_tpl.h | 122 for (const auto ptrVar: del_vars) { in combineAndProject() 132 if (del_vars.contains(ptrVar)) { in combineAndProject() 177 del_vars.erase(del_var); in combineAndProject() 260 if (del_vars.contains(mvar)) { in combineAndProject() 393 for (const auto ptrVar: del_vars) { in nbOperations() 403 if (del_vars.contains(ptrVar)) { in nbOperations() 451 del_vars.erase(del_var); in nbOperations() 550 if (del_vars.contains(mvar)) { in nbOperations() 647 for (const auto ptrVar: del_vars) { in memoryUsage() 707 del_vars.erase(del_var); in memoryUsage() [all …]
|
H A D | multiDimCombineAndProjectDefault.h | 92 Set< const DiscreteVariable* > del_vars); 140 const Set< const DiscreteVariable* >& del_vars) const; 147 Set< const DiscreteVariable* > del_vars) const; 164 const Set< const DiscreteVariable* >& del_vars) const; 181 Set< const DiscreteVariable* > del_vars) const;
|
H A D | multiDimCombineAndProject.h | 91 Set< const DiscreteVariable* > del_vars) 120 const Set< const DiscreteVariable* >& del_vars) const = 0; 123 Set< const DiscreteVariable* > del_vars) const = 0;
|
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/testunits/module_BASE/ |
H A D | ScheduleProjectionBasicTestSuite.h | 38 return projectSumMultiDimArray(&t, del_vars); in schedule_proj_mysum() 44 return projectMinMultiDimArray(&t, del_vars); in schedule_proj_mymin() 71 gum::Set< const gum::DiscreteVariable* > del_vars; in test_construct1() local 72 del_vars.insert(vars[0]); in test_construct1() 73 del_vars.insert(vars[9]); in test_construct1() 74 del_vars.insert(vars[1]); in test_construct1() 105 tt2 = myproj.project(t3, del_vars, schedule); in test_construct1() 200 gum::Set< const gum::DiscreteVariable* > del_vars; in test_construct2() local 201 del_vars.insert(vars[0]); in test_construct2() 202 del_vars.insert(vars[9]); in test_construct2() [all …]
|
H A D | MultiDimProjectionTestSuite.h | 314 del_vars.insert(vars[0]); in test_MultiDimArray_time() 315 del_vars.insert(vars[9]); in test_MultiDimArray_time() 316 del_vars.insert(vars[1]); in test_MultiDimArray_time() 368 del_vars.insert(vars[0]); in test_MultiDimArray() 369 del_vars.insert(vars[9]); in test_MultiDimArray() 370 del_vars.insert(vars[1]); in test_MultiDimArray() 420 del_vars.insert(vars[1]); in test_MultiDimArrayDeb() 421 del_vars.insert(vars[0]); in test_MultiDimArrayDeb() 422 del_vars.insert(vars[2]); in test_MultiDimArrayDeb() 472 del_vars.insert(vars[8]); in test_MultiDimArrayEnd() [all …]
|
H A D | MultiDimCombineAndProjectTestSuite.h | 71 gum::Set< const gum::DiscreteVariable* > del_vars; in testDouble() local 76 = projcomb.combineAndProject(to_comb, del_vars); in testDouble() 78 double nb_ops = projcomb.nbOperations(to_comb, del_vars); in testDouble() 175 gum::Set< const gum::DiscreteVariable* > del_vars; in testFloat() local 180 = projcomb.combineAndProject(to_comb, del_vars); in testFloat() 273 gum::Set< const gum::DiscreteVariable* > del_vars; in testConstants() local 274 del_vars << vars[0] << vars[2]; in testConstants() 278 = projcomb.combineAndProject(to_comb, del_vars); in testConstants() 295 del_vars << vars[1]; in testConstants() 298 = projcomb.combineAndProject(to_comb, del_vars); in testConstants() [all …]
|
H A D | ScheduleProjectTestSuite.h | 49 gum::Set< const gum::DiscreteVariable* > del_vars; in test_construct() local 50 del_vars << vars[0] << vars[3]; in test_construct() 52 gum::ScheduleProject< double > myproj(f1, del_vars, gum::projectMax); in test_construct() 65 s1 << res.toString() << " = project ( " << f1.toString() << " , " << del_vars.toString() in test_construct() 76 gum::Potential< double >* res2 = proj(pot1, del_vars, 0); in test_construct() 79 gum::ScheduleProject< double > myproj3(f1, del_vars, gum::projectMin); in test_construct() 111 const gum::Set< const gum::DiscreteVariable* >& del_vars, in proj() 118 if (!del_vars.exists(var)) *result << *var; in proj()
|
H A D | ScheduleOperationTestSuite.h | 49 gum::Set< const gum::DiscreteVariable* > del_vars; in test_construct() local 50 del_vars << vars[0] << vars[3]; in test_construct() 52 gum::ScheduleProject< double > real_myproj(f1, del_vars, gum::projectMax); in test_construct() 61 s1 << res.toString() << " = project ( " << f1.toString() << " , " << del_vars.toString() in test_construct() 73 gum::Potential< double >* res2 = proj(pot1, del_vars, 0); in test_construct() 96 const gum::Set< const gum::DiscreteVariable* >& del_vars, in proj() 104 if (!del_vars.exists(var)) *result << *var; in proj()
|
H A D | Projectors4MultiDimFunctionGraphTestSuite.h | 390 del_vars.clear(); in test_Projections_Functions_on_MultiDimFunctionGraphs() 517 del_vars << vB; in est_reproduction() 633 del_vars << vD; in est_reproduction() 634 del_vars << vB; in est_reproduction() 635 del_vars << vC; in est_reproduction() 857 del_vars << v4; in est_reproduction() 858 del_vars << v2; in est_reproduction() 859 del_vars << v5; in est_reproduction() 860 del_vars << v6; in est_reproduction() 861 del_vars << v0; in est_reproduction() [all …]
|
H A D | ScheduleDeleteMultiDimTestSuite.h | 51 gum::Set< const gum::DiscreteVariable* > del_vars; in test_construct() local 52 del_vars << vars[0] << vars[3]; in test_construct() 53 gum::ScheduleProject< double > myproj(f1, del_vars, gum::projectMax); in test_construct()
|
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/agrum/tools/graphicalModels/inference/scheduler/ |
H A D | scheduleProjectionBasic_tpl.h | 79 ScheduleProject< GUM_SCALAR > proj(table, del_vars, proj_); in project() 89 const Set< const DiscreteVariable* >& del_vars, in project() 91 return ScheduleProjection< GUM_SCALAR >::project(table, del_vars, schedule); in project() 101 return ScheduleProjection< GUM_SCALAR >::project(table, del_vars, schedule); in project() 126 const Set< const DiscreteVariable* >& del_vars, in nbOperations() 143 const Set< const DiscreteVariable* >& del_vars, in nbOperations() 154 const Set< const DiscreteVariable* >& del_vars, in nbOperations() 163 const Set< const DiscreteVariable* >& del_vars, in memoryUsage() 169 if (!del_vars.contains(var)) { in memoryUsage() 184 const Set< const DiscreteVariable* >& del_vars, in memoryUsage() [all …]
|
H A D | scheduleProjection_tpl.h | 62 const Set< const DiscreteVariable* >& del_vars, in project() 65 return project(sched_table, del_vars, schedule); in project() 73 const Set< const DiscreteVariable* >& del_vars, in project() 76 return project(sched_table, del_vars, schedule); in project() 84 const Set< const DiscreteVariable* >& del_vars, in nbOperations() 87 return nbOperations(sched_table, del_vars, schedule); in nbOperations() 99 return nbOperations(sched_table, del_vars, schedule); in nbOperations() 106 const Set< const DiscreteVariable* >& del_vars, in memoryUsage() 109 return memoryUsage(sched_table, del_vars, schedule); in memoryUsage() 117 const Set< const DiscreteVariable* >& del_vars, in memoryUsage() [all …]
|
H A D | scheduleProjection.h | 113 const Set< const DiscreteVariable* >& del_vars, 117 const Set< const DiscreteVariable* >& del_vars, 121 const Set< const DiscreteVariable* >& del_vars, 138 const Set< const DiscreteVariable* >& del_vars, 142 const Set< const DiscreteVariable* >& del_vars, 146 const Set< const DiscreteVariable* >& del_vars, 159 const Set< const DiscreteVariable* >& del_vars, 163 const Set< const DiscreteVariable* >& del_vars, 167 const Set< const DiscreteVariable* >& del_vars,
|
H A D | scheduleProjectionBasic.h | 110 const Set< const DiscreteVariable* >& del_vars, 113 const Set< const DiscreteVariable* >& del_vars, 117 const Set< const DiscreteVariable* >& del_vars, 132 const Set< const DiscreteVariable* >& del_vars, 135 const Set< const DiscreteVariable* >& del_vars, 139 const Set< const DiscreteVariable* >& del_vars, 152 const Set< const DiscreteVariable* >& del_vars, 155 … const Set< const DiscreteVariable* >& del_vars, 159 const Set< const DiscreteVariable* >& del_vars,
|
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/agrum/tools/multidim/utils/patterns/ |
H A D | projectionPattern4MultiDimArray.h | 47 const Set< const DiscreteVariable* >& del_vars) in GUM_MULTI_DIM_PROJECTION_NAME() 58 const Set<const DiscreteVariable*>& del_vars ) in GUM_MULTI_DIM_PROJECTION_NAME() argument 66 const Set<const DiscreteVariable*>& del_vars, in GUM_MULTI_DIM_PROJECTION_NAME() 76 const Set<const DiscreteVariable*>& del_vars, in GUM_MULTI_DIM_PROJECTION_NAME() 87 const Set<const DiscreteVariable*>& del_vars ) in GUM_MULTI_DIM_PROJECTION_NAME() 97 const Set<const DiscreteVariable*>& del_vars ) in GUM_MULTI_DIM_PROJECTION_NAME() 121 bool need_swapping = table_vars.size() >= 2 * del_vars.size(); in GUM_MULTI_DIM_PROJECTION_NAME() 148 if (!del_vars.exists(var)) { in GUM_MULTI_DIM_PROJECTION_NAME() 304 if (del_vars.exists(var)) { in GUM_MULTI_DIM_PROJECTION_NAME() 337 if (!del_vars.exists(var)) { in GUM_MULTI_DIM_PROJECTION_NAME()
|
H A D | projectionPattern4BaseName.h | 47 const Set< const DiscreteVariable* >& del_vars) in GUM_MULTI_DIM_PROJECTION_NAME() 58 const Set<const DiscreteVariable*>& del_vars ) in GUM_MULTI_DIM_PROJECTION_NAME() argument 66 const Set<const DiscreteVariable*>& del_vars, in GUM_MULTI_DIM_PROJECTION_NAME() 77 const Set<const DiscreteVariable*>& del_vars, in GUM_MULTI_DIM_PROJECTION_NAME() 93 bool need_swapping = table_vars.size() >= 2 * del_vars.size(); in GUM_MULTI_DIM_PROJECTION_NAME() 120 if (!del_vars.exists(var)) { in GUM_MULTI_DIM_PROJECTION_NAME() 273 if (del_vars.exists(var)) { in GUM_MULTI_DIM_PROJECTION_NAME() 306 if (!del_vars.exists(var)) { in GUM_MULTI_DIM_PROJECTION_NAME()
|
H A D | projectionPattern4MultiDimImplementation.h | 44 const Set< const DiscreteVariable* >& del_vars) { in GUM_MULTI_DIM_PROJECTION_NAME() 62 return func(&ttable, del_vars); in GUM_MULTI_DIM_PROJECTION_NAME()
|
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/agrum/BN/inference/ |
H A D | variableElimination_tpl.h | 585 Set< const DiscreteVariable* >& del_vars) { in _removeBarrenVariables_() 588 Set< const DiscreteVariable* > the_del_vars = del_vars; in _removeBarrenVariables_() 779 Set< const DiscreteVariable* > del_vars(from_clique.size()); in _produceMessage_() 785 del_vars.insert(&(bn.variable(node))); in _produceMessage_() 793 _PotentialSet_ new_pot_list = _marginalizeOut_(pot_list.first, del_vars, kept_vars); in _produceMessage_() 845 Set< const DiscreteVariable* >& del_vars, in _marginalizeOut_() 854 barren_projected_potentials = _removeBarrenVariables_(pot_list, del_vars); in _marginalizeOut_() 914 Set< const DiscreteVariable* > del_vars(nodes.size()); in unnormalizedJointPosterior_() 916 if (node != id) del_vars.insert(&(bn.variable(node))); in unnormalizedJointPosterior_() 1021 Set< const DiscreteVariable* > del_vars(nodes.size()); in unnormalizedJointPosterior_() [all …]
|
H A D | variableElimination.h | 55 const Set< const DiscreteVariable* >& del_vars) { in VENewprojPotential() 56 return new Potential< GUM_SCALAR >(t1.margSumOut(del_vars)); in VENewprojPotential() 323 Set< const DiscreteVariable* >& del_vars); 340 Set< const DiscreteVariable* >& del_vars,
|
H A D | ShaferShenoyInference.h | 53 const Set< const DiscreteVariable* >& del_vars) { in SSNewprojPotential() 54 return new Potential< GUM_SCALAR >(t1.margSumOut(del_vars)); in SSNewprojPotential() 388 Set< const DiscreteVariable* >& del_vars); 393 Set< const DiscreteVariable* >& del_vars,
|
H A D | lazyPropagation.h | 56 const Set< const DiscreteVariable* >& del_vars) { in LPNewprojPotential() 57 return new Potential< GUM_SCALAR >(t1.margSumOut(del_vars)); in LPNewprojPotential() 439 Set< const DiscreteVariable* >& del_vars); 444 Set< const DiscreteVariable* >& del_vars,
|
H A D | ShaferShenoyInference_tpl.h | 1059 Set< const DiscreteVariable* >& del_vars) { in _removeBarrenVariables_() 1062 Set< const DiscreteVariable* > the_del_vars = del_vars; in _removeBarrenVariables_() 1123 Set< const DiscreteVariable* >& del_vars, in _marginalizeOut_() 1178 Set< const DiscreteVariable* > del_vars(from_clique.size()); in _produceMessage_() 1184 del_vars.insert(&(bn.variable(node))); in _produceMessage_() 1305 Set< const DiscreteVariable* > del_vars(nodes.size()); in unnormalizedJointPosterior_() 1307 if (node != id) del_vars.insert(&(bn.variable(node))); in unnormalizedJointPosterior_() 1464 Set< const DiscreteVariable* > del_vars(nodes.size()); in unnormalizedJointPosterior_() 1469 del_vars.insert(&(bn.variable(node))); in unnormalizedJointPosterior_() 1560 Set< const DiscreteVariable* > del_vars; in jointPosterior_() local [all …]
|