aGrUM 3.3.2
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/base/multidim/aggregators/multiDimAggregator.h> More...
class  MultiDimFoldAggregator
 <agrum/base/multidim/aggregators/multiDimFoldAggregator.h> More...
class  MultiDimValueAggregator
 <agrum/base/multidim/aggregators/multiDimValueAggregator.h> More...
class  Or
 or aggregator More...
class  Sum
 Sum aggregator. More...

Functions

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

Variables

template class GUM_SHARED_PUBLIC Amplitude< double >
template class GUM_SHARED_PUBLIC And< double >
template class GUM_SHARED_PUBLIC Count< double >
template class GUM_SHARED_PUBLIC Exists< double >
template class GUM_SHARED_PUBLIC Forall< double >
template class GUM_SHARED_PUBLIC Max< double >
template class GUM_SHARED_PUBLIC Median< double >
template class GUM_SHARED_PUBLIC Min< double >
template class GUM_SHARED_PUBLIC MultiDimAggregator< double >
template class GUM_SHARED_PUBLIC MultiDimFoldAggregator< double >
template class GUM_SHARED_PUBLIC MultiDimValueAggregator< double >
template class GUM_SHARED_PUBLIC Or< double >
template class GUM_SHARED_PUBLIC Sum< double >

Detailed Description

Aggregators are functional description of CPTs.

Function Documentation

◆ operator<<() [1/2]

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

For friendly displaying the content of the array.

References operator<<().

Referenced by operator<<(), and operator<<().

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 )

Definition at line 151 of file multiDimAggregator_tpl.h.

151 {
152 return s << ag.toString();
153 }
std::string toString() const override
Adds a variable: the first one is the aggregator, the next ones are its parents.

References operator<<(), and gum::aggregator::MultiDimAggregator< GUM_ELEMENT >::toString().

Here is the call graph for this function:

Variable Documentation

◆ Amplitude< double >

template class GUM_SHARED_PUBLIC gum::aggregator::Amplitude< double >
extern

Definition at line 53 of file amplitude.cpp.

◆ And< double >

template class GUM_SHARED_PUBLIC gum::aggregator::And< double >
extern

Definition at line 53 of file and.cpp.

◆ Count< double >

template class GUM_SHARED_PUBLIC gum::aggregator::Count< double >
extern

Definition at line 53 of file count.cpp.

◆ Exists< double >

template class GUM_SHARED_PUBLIC gum::aggregator::Exists< double >
extern

Definition at line 53 of file exists.cpp.

◆ Forall< double >

template class GUM_SHARED_PUBLIC gum::aggregator::Forall< double >
extern

Definition at line 53 of file forall.cpp.

◆ Max< double >

template class GUM_SHARED_PUBLIC gum::aggregator::Max< double >
extern

Definition at line 53 of file max.cpp.

◆ Median< double >

template class GUM_SHARED_PUBLIC gum::aggregator::Median< double >
extern

Definition at line 53 of file median.cpp.

◆ Min< double >

template class GUM_SHARED_PUBLIC gum::aggregator::Min< double >
extern

Definition at line 53 of file min.cpp.

◆ MultiDimAggregator< double >

template class GUM_SHARED_PUBLIC gum::aggregator::MultiDimAggregator< double >
extern

Definition at line 53 of file multiDimAggregator.cpp.

◆ MultiDimFoldAggregator< double >

template class GUM_SHARED_PUBLIC gum::aggregator::MultiDimFoldAggregator< double >
extern

Definition at line 53 of file multiDimFoldAggregator.cpp.

◆ MultiDimValueAggregator< double >

template class GUM_SHARED_PUBLIC gum::aggregator::MultiDimValueAggregator< double >
extern

Definition at line 53 of file multiDimValueAggregator.cpp.

◆ Or< double >

template class GUM_SHARED_PUBLIC gum::aggregator::Or< double >
extern

Definition at line 53 of file or.cpp.

◆ Sum< double >

template class GUM_SHARED_PUBLIC gum::aggregator::Sum< double >
extern

Definition at line 53 of file sum.cpp.