49#ifndef AGRUM_AGGREGATORDECOMPOSITION_H
50#define AGRUM_AGGREGATORDECOMPOSITION_H
62 template <
typename GUM_SCALAR >
84 virtual std::string
name()
const;
98 const std::string& aggType,
115#ifndef GUM_NO_EXTERN_TEMPLATE_CLASS
Class representing Bayesian networks.
Inline implementation of AggregatorDecomposition.
<agrum/BN/inference/tools/aggregatorDecomposition.h>
Set< NodeId > addDepthLayer_(BayesNet< GUM_SCALAR > &bn, Set< NodeId > nodes, NodeId initialAggregator, int &j)
BayesNet< GUM_SCALAR > & decomposeAggregator_(BayesNet< GUM_SCALAR > &bn, NodeId node)
gum::Size getMaximumArity()
BayesNet< GUM_SCALAR > & getDecomposedAggregator(BayesNet< GUM_SCALAR > &bn)
Default constructor.
void setMaximumArity(gum::Size arity)
virtual std::string name() const
NodeId addAggregator_(BayesNet< GUM_SCALAR > &bn, const std::string &aggType, const DiscreteVariable &var, Idx value)
virtual ~AggregatorDecomposition()
Destructor.
AggregatorDecomposition()
Default constructor.
Base class for discrete random variable.
std::size_t Size
In aGrUM, hashed values are unsigned long int.
Size Idx
Type for indexes.
Size NodeId
Type for node ids.
gum is the global namespace for all aGrUM entities