![]() |
aGrUM
0.21.0
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. More... | |
virtual | ~AggregatorDecomposition () |
Destructor. More... | |
BayesNet< GUM_SCALAR > & | getDecomposedAggregator (BayesNet< GUM_SCALAR > &bn) |
Default constructor. More... | |
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, 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) |
<agrum/BN/inference/tools/aggregatorDecomposition.h>
This class is used to decompose aggregator in PRM<GUM_SCALAR>.
Definition at line 42 of file aggregatorDecomposition.h.
INLINE gum::AggregatorDecomposition< GUM_SCALAR >::AggregatorDecomposition | ( | ) |
Default constructor.
Definition at line 36 of file aggregatorDecomposition_tpl.h.
References gum::Set< Key, Alloc >::emplace().
|
virtual |
Destructor.
Definition at line 42 of file aggregatorDecomposition_tpl.h.
References gum::Set< Key, Alloc >::emplace().
|
protected |
Definition at line 59 of file aggregatorDecomposition_tpl.h.
References gum::Set< Key, Alloc >::emplace().
|
protected |
Definition at line 225 of file aggregatorDecomposition_tpl.h.
References gum::Set< Key, Alloc >::emplace().
|
protected |
Definition at line 92 of file aggregatorDecomposition_tpl.h.
References gum::Set< Key, Alloc >::emplace().
BayesNet< GUM_SCALAR > & gum::AggregatorDecomposition< GUM_SCALAR >::getDecomposedAggregator | ( | BayesNet< GUM_SCALAR > & | bn | ) |
Default constructor.
Definition at line 48 of file aggregatorDecomposition_tpl.h.
References gum::Set< Key, Alloc >::emplace().
gum::Size gum::AggregatorDecomposition< GUM_SCALAR >::getMaximumArity | ( | ) |
Definition at line 351 of file aggregatorDecomposition_tpl.h.
References gum::Set< Key, Alloc >::emplace().
|
virtual |
Definition at line 356 of file aggregatorDecomposition_tpl.h.
INLINE void gum::AggregatorDecomposition< GUM_SCALAR >::setMaximumArity | ( | gum::Size | arity | ) |
Definition at line 345 of file aggregatorDecomposition_tpl.h.
References gum::Set< Key, Alloc >::emplace().
|
private |
Definition at line 89 of file aggregatorDecomposition.h.