29 #ifndef GUM_MAX_AGGREGATOR_H 30 #define GUM_MAX_AGGREGATOR_H 32 #include <agrum/tools/multidim/aggregators/multiDimAggregator.h> 52 template <
typename GUM_SCALAR >
56 Max(
const Max< GUM_SCALAR >& from);
87 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 88 extern template class Max<
double >;
95 #include <agrum/tools/multidim/aggregators/max_tpl.h> INLINE void emplace(Args &&... args)
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), 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()
virtual std::string aggregatorName() const
Max(const Max< GUM_SCALAR > &from)
INLINE std::ostream & operator<<(std::ostream &s, const MultiDimAggregator< GUM_SCALAR > &ag)
For friendly displaying the content of the array.
virtual Idx neutralElt_() const
neutralElt_() is the result value for the first application of fold_