![]() |
aGrUM
0.16.0
|
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 49 of file PRMGenerator.h.
INLINE gum::prm::PRMGenerator< GUM_SCALAR >::PRMGenerator | ( | ) |
Default constructor.
Definition at line 35 of file PRMGenerator_tpl.h.
INLINE gum::prm::PRMGenerator< GUM_SCALAR >::PRMGenerator | ( | const PRMGenerator< GUM_SCALAR > & | source | ) |
Copy constructor.
Definition at line 40 of file PRMGenerator_tpl.h.
|
virtual |
Destructor.
Definition at line 46 of file PRMGenerator_tpl.h.
|
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 58 of file PRMGenerator_tpl.h.
References gum::prm::PRMGenerator< GUM_SCALAR >::_name_gen.
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 51 of file PRMGenerator_tpl.h.
References gum::prm::PRMGenerator< GUM_SCALAR >::_name_gen.
|
protected |
The name generator used by this class.
Definition at line 81 of file PRMGenerator.h.
Referenced by gum::prm::PRMGenerator< GUM_SCALAR >::getNameGenerator(), and gum::prm::PRMGenerator< GUM_SCALAR >::setNameGenerator().