![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
This class represents a Probabilistic Relational PRMSystem<GUM_SCALAR>. More...
#include <agrum/PRM/PRM.h>
Public Member Functions | |
Destructor. | |
PRM () | |
Default constructor. More... | |
~PRM () | |
Destructor. More... | |
Getters and setters. | |
bool | isType (const std::string &name) const |
bool | isClass (const std::string &name) const |
bool | isInterface (const std::string &name) const |
bool | isSystem (const std::string &name) const |
PRMType & | type (const std::string &name) |
Returns a constant reference on a PRMType given it's name. More... | |
const PRMType & | type (const std::string &name) const |
Returns a constant reference on a PRMType given it's name. More... | |
const Set< PRMType *> & | types () const |
Returns the Set of all PRMType in this PRM. More... | |
PRMClass< GUM_SCALAR > & | getClass (const std::string &name) |
Returns a constant reference on a Class<GUM_SCALAR> given it's name. More... | |
const PRMClass< GUM_SCALAR > & | getClass (const std::string &name) const |
Returns a constant reference on a Class<GUM_SCALAR> given it's name. More... | |
const Set< PRMClass< GUM_SCALAR > *> & | classes () const |
Returns the Set of all Class<GUM_SCALAR> in this PRM. More... | |
PRMInterface< GUM_SCALAR > & | getInterface (const std::string &name) |
Returns a constant reference on a Class<GUM_SCALAR> given it's name. More... | |
const PRMInterface< GUM_SCALAR > & | getInterface (const std::string &name) const |
Returns a constant reference on a Class<GUM_SCALAR> given it's name. More... | |
const Set< PRMInterface< GUM_SCALAR > *> & | interfaces () const |
Returns the Set of all Class<GUM_SCALAR> in this PRM. More... | |
PRMSystem< GUM_SCALAR > & | getSystem (const std::string &name) |
Returns a constant reference on a PRMSystem<GUM_SCALAR> given it's name. More... | |
const PRMSystem< GUM_SCALAR > & | getSystem (const std::string &name) const |
Returns a constant reference on a PRMSystem<GUM_SCALAR> given it's name. More... | |
const Set< PRMSystem< GUM_SCALAR > *> & | systems () const |
Returns the Set of all Systems in this PRM. More... | |
Friends | |
class | PRMFactory< GUM_SCALAR > |
This class represents a Probabilistic Relational PRMSystem<GUM_SCALAR>.
gum::prm::PRM< GUM_SCALAR >::PRM | ( | ) |
Default constructor.
Definition at line 35 of file PRM_tpl.h.
gum::prm::PRM< GUM_SCALAR >::~PRM | ( | ) |
Destructor.
Definition at line 42 of file PRM_tpl.h.
|
private |
Copy constructor.
Not Implemented.
|
private |
INLINE const Set< PRMClass< GUM_SCALAR > *> & gum::prm::PRM< GUM_SCALAR >::classes | ( | ) | const |
INLINE PRMClass< GUM_SCALAR > & gum::prm::PRM< GUM_SCALAR >::getClass | ( | const std::string & | name | ) |
Returns a constant reference on a Class<GUM_SCALAR> given it's name.
NotFound | Raised if no class is found with the given name. |
Definition at line 108 of file PRM_tpl.h.
INLINE const PRMClass< GUM_SCALAR > & gum::prm::PRM< GUM_SCALAR >::getClass | ( | const std::string & | name | ) | const |
Returns a constant reference on a Class<GUM_SCALAR> given it's name.
NotFound | Raised if no class is found with the given name. |
Definition at line 114 of file PRM_tpl.h.
INLINE PRMInterface< GUM_SCALAR > & gum::prm::PRM< GUM_SCALAR >::getInterface | ( | const std::string & | name | ) |
Returns a constant reference on a Class<GUM_SCALAR> given it's name.
NotFound | Raised if no class is found with the given name. |
Definition at line 124 of file PRM_tpl.h.
INLINE const PRMInterface< GUM_SCALAR > & gum::prm::PRM< GUM_SCALAR >::getInterface | ( | const std::string & | name | ) | const |
Returns a constant reference on a Class<GUM_SCALAR> given it's name.
NotFound | Raised if no class is found with the given name. |
Definition at line 130 of file PRM_tpl.h.
INLINE PRMSystem< GUM_SCALAR > & gum::prm::PRM< GUM_SCALAR >::getSystem | ( | const std::string & | name | ) |
Returns a constant reference on a PRMSystem<GUM_SCALAR> given it's name.
NotFound | Raised if no model is found with the given name. |
Definition at line 140 of file PRM_tpl.h.
INLINE const PRMSystem< GUM_SCALAR > & gum::prm::PRM< GUM_SCALAR >::getSystem | ( | const std::string & | name | ) | const |
Returns a constant reference on a PRMSystem<GUM_SCALAR> given it's name.
NotFound | Raised if no model is found with the given name. |
Definition at line 146 of file PRM_tpl.h.
INLINE const Set< PRMInterface< GUM_SCALAR > *> & gum::prm::PRM< GUM_SCALAR >::interfaces | ( | ) | const |
INLINE bool gum::prm::PRM< GUM_SCALAR >::isClass | ( | const std::string & | name | ) | const |
name | The name of a possible Class<GUM_SCALAR> in this PRM. |
Definition at line 78 of file PRM_tpl.h.
INLINE bool gum::prm::PRM< GUM_SCALAR >::isInterface | ( | const std::string & | name | ) | const |
name | The name of a possible PRMInterface<GUM_SCALAR> in this PRM. |
Definition at line 83 of file PRM_tpl.h.
INLINE bool gum::prm::PRM< GUM_SCALAR >::isSystem | ( | const std::string & | name | ) | const |
name | The name of a possible PRMSystem<GUM_SCALAR> in this PRM. |
Definition at line 88 of file PRM_tpl.h.
INLINE bool gum::prm::PRM< GUM_SCALAR >::isType | ( | const std::string & | name | ) | const |
|
private |
Copy operator.
Not Implemented.
INLINE const Set< PRMSystem< GUM_SCALAR > *> & gum::prm::PRM< GUM_SCALAR >::systems | ( | ) | const |
INLINE PRMType & gum::prm::PRM< GUM_SCALAR >::type | ( | const std::string & | name | ) |
INLINE const PRMType & gum::prm::PRM< GUM_SCALAR >::type | ( | const std::string & | name | ) | const |
INLINE const Set< PRMType *> & gum::prm::PRM< GUM_SCALAR >::types | ( | ) | const |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |