This class represents a Probabilistic Relational PRMSystem<GUM_SCALAR>.
More...
#include <agrum/PRM/PRM.h>
|
| | PRM (const PRM< GUM_SCALAR > &source) |
| | Copy constructor.
|
| PRM< GUM_SCALAR > & | operator= (const PRM< GUM_SCALAR > &source) |
| | Copy operator.
|
| void | _addBuiltInTypes_ () |
| | Add the built-in types in the PRM.
|
template<GUM_Numeric GUM_SCALAR>
class gum::prm::PRM< GUM_SCALAR >
This class represents a Probabilistic Relational PRMSystem<GUM_SCALAR>.
Definition at line 74 of file PRM.h.
◆ PRM() [1/2]
template<GUM_Numeric GUM_SCALAR>
◆ ~PRM()
template<GUM_Numeric GUM_SCALAR>
Destructor.
Definition at line 64 of file PRM_tpl.h.
64 {
69
72
75
78
81 }
HashTable< std::string, PRMType * > _typeMap_
Mapping of all PRMType given their name.
Set< PRMType * > _types_
Set of all PRMType in this PRM.
HashTable< std::string, PRMClass< GUM_SCALAR > * > _classMap_
Mapping of all Class<GUM_SCALAR> given their name.
Set< PRMSystem< GUM_SCALAR > * > _systems_
Set of all Systems in this PRM.
Set< PRMInterface< GUM_SCALAR > * > _interfaces_
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.
References PRM(), _classes_, _classMap_, _interfaces_, _systemMap_, _systems_, _typeMap_, and _types_.
◆ PRM() [2/2]
template<GUM_Numeric GUM_SCALAR>
| gum::prm::PRM< GUM_SCALAR >::PRM |
( |
const PRM< GUM_SCALAR > & | source | ) |
|
|
private |
Copy constructor.
Not Implemented.
References PRM().
◆ _addBuiltInTypes_()
template<GUM_Numeric GUM_SCALAR>
◆ classes()
template<GUM_Numeric GUM_SCALAR>
◆ getClass() [1/2]
template<GUM_Numeric GUM_SCALAR>
Returns a constant reference on a Class<GUM_SCALAR> given it's name.
- Exceptions
-
| NotFound | Raised if no class is found with the given name. |
Definition at line 130 of file PRM_tpl.h.
References _classMap_.
◆ getClass() [2/2]
template<GUM_Numeric GUM_SCALAR>
Returns a constant reference on a Class<GUM_SCALAR> given it's name.
- Exceptions
-
| NotFound | Raised if no class is found with the given name. |
Definition at line 135 of file PRM_tpl.h.
References _classMap_.
◆ getInterface() [1/2]
template<GUM_Numeric GUM_SCALAR>
Returns a constant reference on a Class<GUM_SCALAR> given it's name.
- Exceptions
-
| NotFound | Raised if no class is found with the given name. |
Definition at line 145 of file PRM_tpl.h.
145 {
147 }
HashTable< std::string, PRMInterface< GUM_SCALAR > * > _interfaceMap_
Mapping of all Class<GUM_SCALAR> given their name.
References _interfaceMap_.
◆ getInterface() [2/2]
template<GUM_Numeric GUM_SCALAR>
Returns a constant reference on a Class<GUM_SCALAR> given it's name.
- Exceptions
-
| NotFound | Raised if no class is found with the given name. |
Definition at line 150 of file PRM_tpl.h.
References _interfaceMap_.
◆ getSystem() [1/2]
template<GUM_Numeric GUM_SCALAR>
◆ getSystem() [2/2]
template<GUM_Numeric GUM_SCALAR>
◆ interfaces()
template<GUM_Numeric GUM_SCALAR>
◆ isClass()
template<GUM_Numeric GUM_SCALAR>
- Parameters
-
| name | The name of a possible Class<GUM_SCALAR> in this PRM. |
- Returns
- Returns true if name names a Class<GUM_SCALAR> in this PRM.
Definition at line 100 of file PRM_tpl.h.
References _classMap_.
◆ isInterface()
template<GUM_Numeric GUM_SCALAR>
◆ isSystem()
template<GUM_Numeric GUM_SCALAR>
◆ isType()
template<GUM_Numeric GUM_SCALAR>
◆ operator=()
template<GUM_Numeric GUM_SCALAR>
Copy operator.
Not Implemented.
References PRM().
◆ systems()
template<GUM_Numeric GUM_SCALAR>
◆ type() [1/2]
template<GUM_Numeric GUM_SCALAR>
Returns a constant reference on a PRMType given it's name.
- Exceptions
-
| NotFound | Raised if no type is found with the given name. |
Definition at line 115 of file PRM_tpl.h.
References _typeMap_.
◆ type() [2/2]
template<GUM_Numeric GUM_SCALAR>
Returns a constant reference on a PRMType given it's name.
- Exceptions
-
| NotFound | Raised if no type is found with the given name. |
Definition at line 120 of file PRM_tpl.h.
References _typeMap_.
◆ types()
template<GUM_Numeric GUM_SCALAR>
◆ PRMFactory< GUM_SCALAR >
template<GUM_Numeric GUM_SCALAR>
◆ _classes_
template<GUM_Numeric GUM_SCALAR>
◆ _classMap_
template<GUM_Numeric GUM_SCALAR>
◆ _interfaceMap_
template<GUM_Numeric GUM_SCALAR>
◆ _interfaces_
template<GUM_Numeric GUM_SCALAR>
◆ _systemMap_
template<GUM_Numeric GUM_SCALAR>
◆ _systems_
template<GUM_Numeric GUM_SCALAR>
◆ _typeMap_
template<GUM_Numeric GUM_SCALAR>
◆ _types_
template<GUM_Numeric GUM_SCALAR>
The documentation for this class was generated from the following files: