31 #include <agrum/tools/multidim/aggregators/amplitude.h> 32 #include <agrum/tools/multidim/aggregators/and.h> 33 #include <agrum/tools/multidim/aggregators/count.h> 34 #include <agrum/tools/multidim/aggregators/or.h> 35 #include <agrum/tools/multidim/aggregators/exists.h> 36 #include <agrum/tools/multidim/aggregators/forall.h> 37 #include <agrum/tools/multidim/aggregators/max.h> 38 #include <agrum/tools/multidim/aggregators/median.h> 39 #include <agrum/tools/multidim/aggregators/min.h> 40 #include <agrum/tools/multidim/aggregators/sum.h> 45 template <
typename GUM_SCALAR >
46 PRMAggregate< GUM_SCALAR >::PRMAggregate(
const std::string& name,
47 AggregateType aggType,
48 const PRMType& rvType) :
49 PRMClassElement< GUM_SCALAR >(name),
50 agg_type__(aggType), type__(
new PRMType(rvType)),
51 label__(std::shared_ptr< Idx >(
new Idx(INT_MAX))) {
52 GUM_CONSTRUCTOR(PRMAggregate);
53 this->safeName_ = PRMObject::LEFT_CAST() + type__->name()
54 + PRMObject::RIGHT_CAST() + name;
55 this->type__->variable().setName(name);
251 "this PRMAggregate can not have cast descendant");
INLINE void emplace(Args &&... args)
ParamScopeData(const std::string &s, const PRMReferenceSlot< GUM_SCALAR > &ref, Idx d)