aGrUM  0.20.3
a C++ library for (probabilistic) graphical models
gum::aggregator Namespace Reference

Aggregators are functional description of CPTs. More...

Classes

class  Amplitude
 amplitude aggregator More...
 
class  And
 And aggregator. More...
 
class  Count
 count aggregator More...
 
class  Exists
 exists aggregator More...
 
class  Forall
 forall aggregator More...
 
class  Max
 max aggregator More...
 
class  Median
 median aggregator More...
 
class  Min
 min aggregator More...
 
class  MultiDimAggregator
 <agrum/tools/multidim/aggregators/multiDimAggregator.h> More...
 
class  Or
 or aggregator More...
 
class  Sum
 Sum aggregator. More...
 

Functions

template<typename GUM_SCALAR >
std::ostream & operator<< (std::ostream &s, const MultiDimAggregator< GUM_SCALAR > &ag)
 For friendly displaying the content of the array. More...
 
template<typename GUM_SCALAR >
INLINE std::ostream & operator<< (std::ostream &s, const MultiDimAggregator< GUM_SCALAR > &ag)
 For friendly displaying the content of the array. More...
 

Detailed Description

Aggregators are functional description of CPTs.

Function Documentation

◆ operator<<() [1/2]

template<typename GUM_SCALAR >
INLINE std::ostream& gum::aggregator::operator<< ( std::ostream &  s,
const MultiDimAggregator< GUM_SCALAR > &  ag 
)

For friendly displaying the content of the array.

Definition at line 135 of file multiDimAggregator_tpl.h.

References operator<<().

Referenced by gum::aggregator::MultiDimAggregator< GUM_SCALAR >::buildValue_(), gum::aggregator::MultiDimAggregator< GUM_SCALAR >::copyFrom(), gum::aggregator::Sum< GUM_SCALAR >::fold_(), gum::aggregator::Min< GUM_SCALAR >::fold_(), gum::aggregator::Max< GUM_SCALAR >::fold_(), gum::aggregator::MultiDimAggregator< GUM_SCALAR >::get(), gum::aggregator::MultiDimAggregator< GUM_SCALAR >::isDecomposable(), gum::aggregator::Max< GUM_SCALAR >::Max(), gum::aggregator::Min< GUM_SCALAR >::Min(), gum::aggregator::MultiDimAggregator< GUM_SCALAR >::MultiDimAggregator(), gum::aggregator::MultiDimAggregator< GUM_SCALAR >::name(), gum::aggregator::Sum< GUM_SCALAR >::neutralElt_(), gum::aggregator::Min< GUM_SCALAR >::neutralElt_(), gum::aggregator::Max< GUM_SCALAR >::neutralElt_(), gum::aggregator::Sum< GUM_SCALAR >::newFactory(), gum::aggregator::Min< GUM_SCALAR >::newFactory(), gum::aggregator::Max< GUM_SCALAR >::newFactory(), operator<<(), gum::aggregator::Sum< GUM_SCALAR >::Sum(), gum::aggregator::MultiDimAggregator< GUM_SCALAR >::toString(), gum::aggregator::Max< GUM_SCALAR >::~Max(), gum::aggregator::Min< GUM_SCALAR >::~Min(), gum::aggregator::MultiDimAggregator< GUM_SCALAR >::~MultiDimAggregator(), and gum::aggregator::Sum< GUM_SCALAR >::~Sum().

135  {
136  return s << ag.toString();
137  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator<<() [2/2]

template<typename GUM_SCALAR >
std::ostream& gum::aggregator::operator<< ( std::ostream &  s,
const MultiDimAggregator< GUM_SCALAR > &  ag 
)

For friendly displaying the content of the array.

Definition at line 135 of file multiDimAggregator_tpl.h.

References operator<<().

Referenced by gum::aggregator::MultiDimAggregator< GUM_SCALAR >::buildValue_(), gum::aggregator::MultiDimAggregator< GUM_SCALAR >::copyFrom(), gum::aggregator::Sum< GUM_SCALAR >::fold_(), gum::aggregator::Min< GUM_SCALAR >::fold_(), gum::aggregator::Max< GUM_SCALAR >::fold_(), gum::aggregator::MultiDimAggregator< GUM_SCALAR >::get(), gum::aggregator::MultiDimAggregator< GUM_SCALAR >::isDecomposable(), gum::aggregator::Max< GUM_SCALAR >::Max(), gum::aggregator::Min< GUM_SCALAR >::Min(), gum::aggregator::MultiDimAggregator< GUM_SCALAR >::MultiDimAggregator(), gum::aggregator::MultiDimAggregator< GUM_SCALAR >::name(), gum::aggregator::Sum< GUM_SCALAR >::neutralElt_(), gum::aggregator::Min< GUM_SCALAR >::neutralElt_(), gum::aggregator::Max< GUM_SCALAR >::neutralElt_(), gum::aggregator::Sum< GUM_SCALAR >::newFactory(), gum::aggregator::Min< GUM_SCALAR >::newFactory(), gum::aggregator::Max< GUM_SCALAR >::newFactory(), operator<<(), gum::aggregator::Sum< GUM_SCALAR >::Sum(), gum::aggregator::MultiDimAggregator< GUM_SCALAR >::toString(), gum::aggregator::Max< GUM_SCALAR >::~Max(), gum::aggregator::Min< GUM_SCALAR >::~Min(), gum::aggregator::MultiDimAggregator< GUM_SCALAR >::~MultiDimAggregator(), and gum::aggregator::Sum< GUM_SCALAR >::~Sum().

135  {
136  return s << ag.toString();
137  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function: