![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
This class is the base class to all PRM generators. More...
#include <agrum/PRM/generator/PRMGenerator.h>
Public Member Functions | |
Constructors and destructor. | |
PRMGenerator () | |
Default constructor. More... | |
PRMGenerator (const PRMGenerator &source) | |
Copy constructor. More... | |
virtual | ~PRMGenerator () |
Destructor. More... | |
void | setNameGenerator (const NameGenerator &name_gen) |
Getters and setters. More... | |
const NameGenerator & | getNameGenerator () const |
Returns the NameGenerator used by this generator. More... | |
virtual PRM< GUM_SCALAR > * | generate ()=0 |
Proceeds with the generation of the PRM. More... | |
Protected Attributes | |
NameGenerator | name_gen_ |
The name generator used by this class. More... | |
This class is the base class to all PRM generators.
Definition at line 48 of file PRMGenerator.h.
INLINE gum::prm::PRMGenerator< GUM_SCALAR >::PRMGenerator | ( | ) |
Default constructor.
Definition at line 34 of file PRMGenerator_tpl.h.
References gum::prm::ParamScopeData< GUM_SCALAR >::ParamScopeData().
INLINE gum::prm::PRMGenerator< GUM_SCALAR >::PRMGenerator | ( | const PRMGenerator< GUM_SCALAR > & | source | ) |
Copy constructor.
Definition at line 39 of file PRMGenerator_tpl.h.
References gum::prm::ParamScopeData< GUM_SCALAR >::ParamScopeData().
|
virtual |
Destructor.
Definition at line 45 of file PRMGenerator_tpl.h.
References gum::prm::ParamScopeData< GUM_SCALAR >::ParamScopeData().
|
pure virtual |
Proceeds with the generation of the PRM.
Implemented in gum::prm::LayerGenerator< GUM_SCALAR >, and gum::prm::ClusteredLayerGenerator< GUM_SCALAR >.
INLINE const NameGenerator & gum::prm::PRMGenerator< GUM_SCALAR >::getNameGenerator | ( | ) | const |
Returns the NameGenerator used by this generator.
Definition at line 55 of file PRMGenerator_tpl.h.
References gum::prm::ParamScopeData< GUM_SCALAR >::ParamScopeData().
INLINE void gum::prm::PRMGenerator< GUM_SCALAR >::setNameGenerator | ( | const NameGenerator & | name_gen | ) |
Getters and setters.
Defines the NameGenerator used by this generator.
Definition at line 50 of file PRMGenerator_tpl.h.
References gum::prm::ParamScopeData< GUM_SCALAR >::ParamScopeData().
|
protected |
The name generator used by this class.
Definition at line 80 of file PRMGenerator.h.