57 template <
typename GUM_SCALAR >
63 template <
typename GUM_SCALAR >
69 template <
typename GUM_SCALAR >
74 template <
typename GUM_SCALAR >
79 template <
typename GUM_SCALAR >
83 bool& stop_iteration)
const {
87 stop_iteration =
true;
92 template <
typename GUM_SCALAR >
94 return std::string(
"and");
97 template <
typename GUM_SCALAR >
Base class for discrete random variable.
Abstract base class for all multi dimensionnal containers.
virtual std::string aggregatorName() const
virtual Idx neutralElt_() const
neutralElt_() is the result value for the first application of fold_
virtual Idx fold_(const DiscreteVariable &v, Idx i1, Idx i2, bool &stop_iteration) const
fold_ is applied on value i1 for variable v. the actual result for precedent applications is i2.
virtual MultiDimContainer< GUM_SCALAR > * newFactory() const
This method creates a clone of this object, withouth its content (including variable),...
MultiDimAggregator()
Default constructor.
bool decomposable_
decomposable_ indicates if the aggregator can be decomposed
Size Idx
Type for indexes.
Aggregators are functional description of CPTs.
gum is the global namespace for all aGrUM entities