55 template <
typename GUM_SCALAR >
62 template <
typename GUM_SCALAR >
83 template <
typename GUM_SCALAR >
93 template <
typename GUM_SCALAR >
98 template <
typename GUM_SCALAR >
103 template <
typename GUM_SCALAR >
108 template <
typename GUM_SCALAR >
113 template <
typename GUM_SCALAR >
118 template <
typename GUM_SCALAR >
123 template <
typename GUM_SCALAR >
128 template <
typename GUM_SCALAR >
133 template <
typename GUM_SCALAR >
139 template <
typename GUM_SCALAR >
144 template <
typename GUM_SCALAR >
149 template <
typename GUM_SCALAR >
155 template <
typename GUM_SCALAR >
160 template <
typename GUM_SCALAR >
165 template <
typename GUM_SCALAR >
171 template <
typename GUM_SCALAR >
LabelizedVariable & addLabel(const std::string &aLabel)
add a label with a new index (we assume that we will NEVER remove a label)
A PRMClass is an object of a PRM representing a fragment of a Bayesian network which can be instantia...
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
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.
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