49#ifndef GUM_PARAMETER_H
50#define GUM_PARAMETER_H
67 template <
typename GUM_SCALAR >
98 GUM_SCALAR
value()
const;
111 virtual Tensor< GUM_SCALAR >&
cpf();
114 virtual const Tensor< GUM_SCALAR >&
cpf()
const;
149#ifndef GUM_NO_EXTERN_TEMPLATE_CLASS
Headers of gum::PRMAttribute.
Implementation of gum::PRMParameter.
PRMAttribute is a member of a Class in a PRM.
Abstract class representing an element of PRM class.
PRMClassElement(const std::string &name)
Default constructor of a PRMClassElement.
ClassElementType
Returns true if obj_ptr is of type PRMReferenceSlot.
const std::string & name() const
Returns the name of this object.
PRMParameter is a member of a Class in a PRM.
void addChild(const gum::prm::PRMClassElement< GUM_SCALAR > &)
See gum::PRMClassElement::addChild().
PRMParameter< GUM_SCALAR > & operator=(const PRMParameter< GUM_SCALAR > &from)
Copy operator. Don't use it.
virtual PRMClassElement< GUM_SCALAR >::ClassElementType elt_type() const
See gum::PRMClassElement::elt_type().
ParameterType valueType() const
See gum::PRMClassElement::elt_type().
PRMParameter(const std::string &name, ParameterType type, GUM_SCALAR value)
Constructor used by gum::Class.
virtual ~PRMParameter()
Destructor.
virtual Tensor< GUM_SCALAR > & cpf()
See gum::PRMClassElement::cpf().
virtual PRMType & type()
See gum::PRMClassElement::type().
GUM_SCALAR value() const
See gum::PRMClassElement::elt_type().
virtual PRMAttribute< GUM_SCALAR > * getCastDescendant() const
Raise a gum::OperationNotAllowed See gum::PRMClassElement::getCastDescendant().
void addParent(const gum::prm::PRMClassElement< GUM_SCALAR > &)
See gum::PRMClassElement::addParent().
This is a decoration of the DiscreteVariable class.
namespace for all probabilistic relational models entities
gum is the global namespace for all aGrUM entities