49#ifndef GUM_PARAMETER_H
50#define GUM_PARAMETER_H
67 template < GUM_Numeric GUM_SCALAR >
98 GUM_SCALAR
value()
const;
111 virtual Tensor< GUM_SCALAR >&
cpf();
114 const Tensor< GUM_SCALAR >&
cpf()
const override;
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(std::string_view 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.
PRMAttribute< GUM_SCALAR > * getCastDescendant() const override
Raise a gum::OperationNotAllowed See gum::PRMClassElement::getCastDescendant().
PRMParameter< GUM_SCALAR > & operator=(const PRMParameter< GUM_SCALAR > &from)
Copy operator. Don't use it.
ParameterType valueType() const
See gum::PRMClassElement::elt_type().
void addChild(const gum::prm::PRMClassElement< GUM_SCALAR > &) override
See gum::PRMClassElement::addChild().
void addParent(const gum::prm::PRMClassElement< GUM_SCALAR > &) override
See gum::PRMClassElement::addParent().
PRMClassElement< GUM_SCALAR >::ClassElementType elt_type() const override
See gum::PRMClassElement::elt_type().
virtual Tensor< GUM_SCALAR > & cpf()
See gum::PRMClassElement::cpf().
PRMParameter(std::string_view name, ParameterType type, GUM_SCALAR value)
Constructor used by gum::Class.
~PRMParameter() override
Destructor.
PRMType & type() override
See gum::PRMClassElement::type().
GUM_SCALAR value() const
See gum::PRMClassElement::elt_type().
This is a decoration of the DiscreteVariable class.
namespace for all probabilistic relational models entities
gum is the global namespace for all aGrUM entities