27 #ifndef GUM_AND_AGGREGATOR_H 28 #define GUM_AND_AGGREGATOR_H 34 namespace aggregator {
51 template <
typename GUM_SCALAR >
84 bool& stop_iteration)
const;
91 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 101 #endif // GUM_AND_AGGREGATOR_H
Base class for discrete random variable.
gum is the global namespace for all aGrUM entities
Abstract base class for all multi dimensionnal containers.
<agrum/multidim/aggregators/multiDimAggregator.h>
virtual std::string aggregatorName() const
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 Idx _neutralElt() const
_neutralElt() is the result value for the first application of _fold
Size Idx
Type for indexes.
virtual MultiDimContainer< GUM_SCALAR > * newFactory() const
This method creates a clone of this object, withouth its content (including variable), you must use this method if you want to ensure that the generated object has the same type than the object containing the called newFactory()