![]() |
aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
|
<agrum/BN/inference/tools/aggregatorDecomposition.h> More...
#include <aggregatorDecomposition.h>
Public Member Functions | |
Constructor & destructor. | |
| AggregatorDecomposition () | |
| Default constructor. | |
| virtual | ~AggregatorDecomposition () |
| Destructor. | |
| BayesNet< GUM_SCALAR > & | getDecomposedAggregator (BayesNet< GUM_SCALAR > &bn) |
| Default constructor. | |
Getters & setters. | |
| virtual std::string | name () const |
| gum::Size | getMaximumArity () |
| void | setMaximumArity (gum::Size arity) |
Protected Member Functions | |
Private evidence handling methods and members. | |
| NodeId | addAggregator_ (BayesNet< GUM_SCALAR > &bn, const std::string &aggType, const DiscreteVariable &var, Idx value) |
| BayesNet< GUM_SCALAR > & | decomposeAggregator_ (BayesNet< GUM_SCALAR > &bn, NodeId node) |
| Set< NodeId > | addDepthLayer_ (BayesNet< GUM_SCALAR > &bn, Set< NodeId > nodes, NodeId initialAggregator, int &j) |
Private Attributes | |
| Size | _arity_ = Size(2) |
<agrum/BN/inference/tools/aggregatorDecomposition.h>
This class is used to decompose aggregator in PRM<GUM_SCALAR>.
Definition at line 63 of file aggregatorDecomposition.h.
| INLINE gum::AggregatorDecomposition< GUM_SCALAR >::AggregatorDecomposition | ( | ) |
Default constructor.
Definition at line 58 of file aggregatorDecomposition_tpl.h.
References AggregatorDecomposition().
Referenced by AggregatorDecomposition(), and ~AggregatorDecomposition().
|
virtual |
Destructor.
Definition at line 63 of file aggregatorDecomposition_tpl.h.
References AggregatorDecomposition().
|
protected |
Definition at line 80 of file aggregatorDecomposition_tpl.h.
References GUM_ERROR, and gum::toLower().
Referenced by addDepthLayer_(), and decomposeAggregator_().
|
protected |
Definition at line 245 of file aggregatorDecomposition_tpl.h.
References addAggregator_(), addDepthLayer_(), getMaximumArity(), GUM_ERROR, gum::LABELIZED, gum::RangeVariable::maxVal(), gum::RangeVariable::minVal(), gum::List< Val >::push_back(), gum::RANGE, and gum::Set< Key >::size().
Referenced by addDepthLayer_(), and decomposeAggregator_().
|
protected |
Definition at line 113 of file aggregatorDecomposition_tpl.h.
References addAggregator_(), addDepthLayer_(), getMaximumArity(), GUM_ERROR, gum::LABELIZED, gum::RangeVariable::maxVal(), gum::RangeVariable::minVal(), gum::List< Val >::push_back(), gum::RANGE, and gum::Set< Key >::size().
Referenced by getDecomposedAggregator().
| BayesNet< GUM_SCALAR > & gum::AggregatorDecomposition< GUM_SCALAR >::getDecomposedAggregator | ( | BayesNet< GUM_SCALAR > & | bn | ) |
Default constructor.
Definition at line 69 of file aggregatorDecomposition_tpl.h.
References decomposeAggregator_().
| gum::Size gum::AggregatorDecomposition< GUM_SCALAR >::getMaximumArity | ( | ) |
Definition at line 371 of file aggregatorDecomposition_tpl.h.
References _arity_.
Referenced by addDepthLayer_(), and decomposeAggregator_().
|
virtual |
Definition at line 376 of file aggregatorDecomposition_tpl.h.
| INLINE void gum::AggregatorDecomposition< GUM_SCALAR >::setMaximumArity | ( | gum::Size | arity | ) |
Definition at line 365 of file aggregatorDecomposition_tpl.h.
|
private |
Definition at line 111 of file aggregatorDecomposition.h.
Referenced by getMaximumArity(), and setMaximumArity().