54 template <
typename GUM_SCALAR >
64 template <
typename GUM_SCALAR >
69 template <
typename GUM_SCALAR >
78 template <
typename GUM_SCALAR >
84 template <
typename GUM_SCALAR >
90 template <
typename GUM_SCALAR >
95 template <
typename GUM_SCALAR >
101 template <
typename GUM_SCALAR >
106 template <
typename GUM_SCALAR >
111 template <
typename GUM_SCALAR >
116 template <
typename GUM_SCALAR >
121 template <
typename GUM_SCALAR >
126 template <
typename GUM_SCALAR >
131 template <
typename GUM_SCALAR >
135 template <
typename GUM_SCALAR >
Headers of gum::PRMClassElement.
Exception : fatal (unknown ?) error.
Exception : operation not allowed.
PRMAttribute is a member of a Class in a PRM.
<agrum/PRM/classElementContainer.h>
PRMClassElement(const std::string &name)
Default constructor of a PRMClassElement.
ClassElementType
Returns true if obj_ptr is of type PRMReferenceSlot.
std::string safeName_
The safe name of this PRMClassElement.
const std::string & name() const
Returns the name of this object.
static std::string LEFT_CAST()
Enumeration of the different types of objects handled by a PRM.
static std::string RIGHT_CAST()
Enumeration of the different types of objects handled by a PRM.
A PRMReferenceSlot represent a relation between two PRMClassElementContainer.
PRMClassElementContainer< GUM_SCALAR > & slotType()
Returns the type of this slot, which is a PRMClassElementContainer (it is not the type of PRMObject).
PRMReferenceSlot & operator=(const PRMReferenceSlot< GUM_SCALAR > &from)
Copy operator. Don't use it.
PRMReferenceSlot(const std::string &name, PRMClassElementContainer< GUM_SCALAR > &type, bool isArray=false)
Default constructor.
bool _isArray_
Flag indicating if this slot is an array.
virtual void addChild(const PRMClassElement< GUM_SCALAR > &elt)
See gum::PRMClassElement::addChild().
PRMClassElementContainer< GUM_SCALAR > & _slotType_
The type of this PRMReferenceSlot.
virtual void addParent(const PRMClassElement< GUM_SCALAR > &elt)
See gum::PRMClassElement::addParent().
virtual ~PRMReferenceSlot()
Destructor.
virtual PRMClassElement< GUM_SCALAR >::ClassElementType elt_type() const
Implementation of the pure virtual method of PRMObject.
bool isArray() const
Returns true if this reference slot is an array.
virtual PRMAttribute< GUM_SCALAR > * getCastDescendant() const
Raise an OperationNotAllowed. See gum::PRMClassElement::getCastDescendant().
virtual Tensor< GUM_SCALAR > & cpf()
Raise an OperationNotAllowed. See gum::PRMClassElement::cpf().
virtual PRMType & type()
Raise an OperationNotAllowed. 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