49#ifndef GUM_AGGREGATORDECOMPOSITION_H
50#define GUM_AGGREGATORDECOMPOSITION_H
62 template < GUM_Numeric GUM_SCALAR >
84 virtual std::string
name()
const;
98 std::string_view 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.
NodeId addAggregator_(BayesNet< GUM_SCALAR > &bn, std::string_view aggType, const DiscreteVariable &var, Idx value)
virtual std::string name() const
AggregatorDecomposition()
Default constructor.
virtual ~AggregatorDecomposition()
Destructor.
void setMaximumArity(gum::Size arity)
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