50 template <
typename GUM_SCALAR >
52 template <
typename GUM_SCALAR >
62 template <
typename GUM_SCALAR >
92 bool isType(
const std::string& name)
const;
98 bool isClass(
const std::string& name)
const;
112 bool isSystem(
const std::string& name)
const;
124 const PRMType&
type(
const std::string& name)
const;
239 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS PRMInterface< GUM_SCALAR > & getInterface(const std::string &name)
Returns a constant reference on a Class<GUM_SCALAR> given it's name.
const Set< PRMType *> & types() const
Returns the Set of all PRMType in this PRM.
Headers of gum::PRMSlotChain.
bool isClass(const std::string &name) const
Header file of gum::Sequence, a class for storing (ordered) sequences of objects. ...
Headers of gum::PRMAttribute.
PRM()
Default constructor.
const Set< PRMSystem< GUM_SCALAR > *> & systems() const
Returns the Set of all Systems in this PRM.
Headers of gum::prm::Class<GUM_SCALAR>.
void __addBuiltInTypes()
Add the built-in types in the PRM.
const Set< PRMClass< GUM_SCALAR > *> & classes() const
Returns the Set of all Class<GUM_SCALAR> in this PRM.
const Set< PRMInterface< GUM_SCALAR > *> & interfaces() const
Returns the Set of all Class<GUM_SCALAR> in this PRM.
Set< PRMType *> __types
Set of all PRMType in this PRM.
gum is the global namespace for all aGrUM entities
Inline implementation of PRM.
The class for generic Hash Tables.
bool isType(const std::string &name) const
Representation of a setA Set is a structure that contains arbitrary elements.
HashTable< std::string, PRMType *> __typeMap
Mapping of all PRMType given their name.
Factory which builds a PRM<GUM_SCALAR>.
PRMType & type(const std::string &name)
Returns a constant reference on a PRMType given it's name.
bool isSystem(const std::string &name) const
PRMSystem< GUM_SCALAR > & getSystem(const std::string &name)
Returns a constant reference on a PRMSystem<GUM_SCALAR> given it's name.
A PRMSystem is a container of PRMInstance and describe a relational skeleton.
Set< PRMInterface< GUM_SCALAR > *> __interfaces
Set of all Class<GUM_SCALAR> in this PRM.
This is a decoration of the DiscreteVariable class.
An PRMInterface is implemented by a Class<GUM_SCALAR> and defines a set of PRMReferenceSlot<GUM_SCALA...
HashTable< std::string, PRMSystem< GUM_SCALAR > *> __systemMap
Mapping of all Systems given their name.
Headers of gum::PRMAggregate.
HashTable< std::string, PRMInterface< GUM_SCALAR > *> __interfaceMap
Mapping of all Class<GUM_SCALAR> given their name.
Headers of gum::PRMAttribute.
This class represents a Probabilistic Relational PRMSystem<GUM_SCALAR>.
Headers of gum::prm::PRMInstance<GUM_SCALAR>
A PRMClass is an object of a PRM representing a fragment of a Bayesian Network which can be instantia...
Set< PRMClass< GUM_SCALAR > *> __classes
Set of all Class<GUM_SCALAR> in this PRM.
PRMClass< GUM_SCALAR > & getClass(const std::string &name)
Returns a constant reference on a Class<GUM_SCALAR> given it's name.
PRM< GUM_SCALAR > & operator=(const PRM< GUM_SCALAR > &source)
Copy operator.
HashTable< std::string, PRMClass< GUM_SCALAR > *> __classMap
Mapping of all Class<GUM_SCALAR> given their name.
bool isInterface(const std::string &name) const
Headers of gum::PRMClassElement.
Class hash tables iterators.
Set< PRMSystem< GUM_SCALAR > *> __systems
Set of all Systems in this PRM.