53 template <
typename GUM_SCALAR >
55 const std::string&
name,
59 std::stringstream str;
60 str <<
"In FuncAttribute(" <<
name <<
", " <<
type.name() <<
", " << impl <<
")";
64 template <
typename GUM_SCALAR >
69 template <
typename GUM_SCALAR >
73 template <
typename GUM_SCALAR >
77 template <
typename GUM_SCALAR >
84 template <
typename GUM_SCALAR >
90 template <
typename GUM_SCALAR >
Exception : fatal (unknown ?) error.
<agrum/base/multidim/multiDimImplementation.h>
Exception : operation not allowed.
Abstract class representing an element of PRM class.
<agrum/PRM/elements/funcAttribute.h>
virtual void addChild(const PRMClassElement< GUM_SCALAR > &elt)
See gum::PRMClassElement::addChild_().
virtual void setCpf_(Tensor< GUM_SCALAR > *cpf)
virtual ~PRMFuncAttribute()
Destructor.
PRMFuncAttribute(const std::string &name, const PRMType &type, MultiDimImplementation< GUM_SCALAR > *impl=new MultiDimArray< GUM_SCALAR >())
Constructor used by gum::Class.
PRMFuncAttribute< GUM_SCALAR > & operator=(const PRMFuncAttribute< GUM_SCALAR > &from)
Copy operator. Don't use it.
virtual void addParent(const PRMClassElement< GUM_SCALAR > &elt)
See gum::PRMClassElement::addParent_().
const std::string & name() const
Returns the name of this object.
virtual const Tensor< GUM_SCALAR > & cpf() const
See gum::PRMClassElement::cpf().
PRMScalarAttribute(const std::string &name, const PRMType &type, MultiDimImplementation< GUM_SCALAR > *impl=new MultiDimArray< GUM_SCALAR >())
Constructor used by gum::Class.
virtual PRMType & type()
See gum::PRMClassElement::type().
This is a decoration of the DiscreteVariable class.
#define GUM_ERROR(type, msg)
namespace for all probabilistic relational models entities
gum is the global namespace for all aGrUM entities