aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
gum::prm::PRMGenerator< GUM_SCALAR > Class Template Referenceabstract

This class is the base class to all PRM generators. More...

#include <agrum/PRM/generator/PRMGenerator.h>

Inheritance diagram for gum::prm::PRMGenerator< GUM_SCALAR >:
Collaboration diagram for gum::prm::PRMGenerator< GUM_SCALAR >:

Public Member Functions

Constructors and destructor.
 PRMGenerator ()
 Default constructor.
 PRMGenerator (const PRMGenerator &source)
 Copy constructor.
virtual ~PRMGenerator ()
 Destructor.
void setNameGenerator (const NameGenerator &name_gen)
 Getters and setters.
const NameGeneratorgetNameGenerator () const
 Returns the NameGenerator used by this generator.
virtual PRM< GUM_SCALAR > * generate ()=0
 Proceeds with the generation of the PRM.

Protected Attributes

NameGenerator name_gen_
 The name generator used by this class.

Detailed Description

template<typename GUM_SCALAR>
class gum::prm::PRMGenerator< GUM_SCALAR >

This class is the base class to all PRM generators.

Definition at line 68 of file PRMGenerator.h.

Constructor & Destructor Documentation

◆ PRMGenerator() [1/2]

template<typename GUM_SCALAR>
INLINE gum::prm::PRMGenerator< GUM_SCALAR >::PRMGenerator ( )

Default constructor.

Definition at line 55 of file PRMGenerator_tpl.h.

55 {
57 }
This class is the base class to all PRM generators.
PRMGenerator()
Default constructor.

References PRMGenerator().

Referenced by PRMGenerator(), PRMGenerator(), and ~PRMGenerator().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PRMGenerator() [2/2]

template<typename GUM_SCALAR>
INLINE gum::prm::PRMGenerator< GUM_SCALAR >::PRMGenerator ( const PRMGenerator< GUM_SCALAR > & source)

Copy constructor.

Definition at line 60 of file PRMGenerator_tpl.h.

60 :
63 }
NameGenerator name_gen_
The name generator used by this class.

References PRMGenerator(), and name_gen_.

Here is the call graph for this function:

◆ ~PRMGenerator()

template<typename GUM_SCALAR>
INLINE gum::prm::PRMGenerator< GUM_SCALAR >::~PRMGenerator ( )
virtual

Destructor.

Definition at line 66 of file PRMGenerator_tpl.h.

66 {
68 }

References PRMGenerator().

Here is the call graph for this function:

Member Function Documentation

◆ generate()

template<typename GUM_SCALAR>
virtual PRM< GUM_SCALAR > * gum::prm::PRMGenerator< GUM_SCALAR >::generate ( )
pure virtual

Proceeds with the generation of the PRM.

Implemented in gum::prm::ClusteredLayerGenerator< GUM_SCALAR >, and gum::prm::LayerGenerator< GUM_SCALAR >.

◆ getNameGenerator()

template<typename GUM_SCALAR>
INLINE const NameGenerator & gum::prm::PRMGenerator< GUM_SCALAR >::getNameGenerator ( ) const

Returns the NameGenerator used by this generator.

Definition at line 76 of file PRMGenerator_tpl.h.

76 {
77 return name_gen_;
78 }

References name_gen_.

◆ setNameGenerator()

template<typename GUM_SCALAR>
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 71 of file PRMGenerator_tpl.h.

71 {
73 }

References name_gen_.

Member Data Documentation

◆ name_gen_


The documentation for this class was generated from the following files: