29 #ifndef GUM_EXISTS_AGGREGATOR_H 30 #define GUM_EXISTS_AGGREGATOR_H 32 #include <agrum/tools/multidim/aggregators/multiDimAggregator.h> 52 template <
typename GUM_SCALAR >
89 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 90 extern template class Exists<
double >;
97 #include <agrum/tools/multidim/aggregators/exists_tpl.h> Exists(const Exists< GUM_SCALAR > &from)
INLINE void emplace(Args &&... args)
virtual std::string aggregatorName() const
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 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...
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_