60 template <
typename GUM_SCALAR >
62 template <
typename GUM_SCALAR >
73 template <
typename GUM_SCALAR >
103 bool isType(
const std::string& name)
const;
109 bool isClass(
const std::string& name)
const;
123 bool isSystem(
const std::string& name)
const;
135 const PRMType&
type(
const std::string& name)
const;
250#ifndef GUM_NO_EXTERN_TEMPLATE_CLASS
Headers of gum::PRMAttribute.
Inline implementation of PRM.
The class for generic Hash Tables.
A PRMClass is an object of a PRM representing a fragment of a Bayesian network which can be instantia...
Factory which builds a PRM<GUM_SCALAR>.
An PRMInterface is implemented by a Class<GUM_SCALAR> and defines a set of PRMReferenceSlot<GUM_SCALA...
A PRMSystem is a container of PRMInstance and describe a relational skeleton.
This is a decoration of the DiscreteVariable class.
HashTable< std::string, PRMType * > _typeMap_
Mapping of all PRMType given their name.
Set< PRMType * > _types_
Set of all PRMType in this PRM.
PRM()
Default constructor.
HashTable< std::string, PRMClass< GUM_SCALAR > * > _classMap_
Mapping of all Class<GUM_SCALAR> given their name.
PRMType & type(const std::string &name)
Returns a constant reference on a PRMType given it's name.
Set< PRMSystem< GUM_SCALAR > * > _systems_
Set of all Systems in this PRM.
HashTable< std::string, PRMInterface< GUM_SCALAR > * > _interfaceMap_
Mapping of all Class<GUM_SCALAR> given their name.
PRMInterface< GUM_SCALAR > & getInterface(const std::string &name)
Returns a constant reference on a Class<GUM_SCALAR> given it's name.
Set< PRMInterface< GUM_SCALAR > * > _interfaces_
Set of all Class<GUM_SCALAR> in this PRM.
void _addBuiltInTypes_()
Add the built-in types in the PRM.
PRMSystem< GUM_SCALAR > & getSystem(const std::string &name)
Returns a constant reference on a PRMSystem<GUM_SCALAR> given it's name.
const Set< PRMType * > & types() const
Returns the Set of all PRMType in this PRM.
bool isType(const std::string &name) const
PRM(const PRM< GUM_SCALAR > &source)
Copy constructor.
bool isSystem(const std::string &name) const
const Set< PRMClass< GUM_SCALAR > * > & classes() const
Returns the Set of all Class<GUM_SCALAR> in this PRM.
bool isClass(const std::string &name) const
const Set< PRMInterface< GUM_SCALAR > * > & interfaces() const
Returns the Set of all Class<GUM_SCALAR> in this PRM.
PRM< GUM_SCALAR > & operator=(const PRM< GUM_SCALAR > &source)
Copy operator.
HashTable< std::string, PRMSystem< GUM_SCALAR > * > _systemMap_
Mapping of all Systems given their name.
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.
const Set< PRMSystem< GUM_SCALAR > * > & systems() const
Returns the Set of all Systems in this PRM.
bool isInterface(const std::string &name) const
namespace for all probabilistic relational models entities
gum is the global namespace for all aGrUM entities