![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
Class for generating Utility Tables. More...
#include <simpleUTGenerator.h>
Public Member Functions | |
Constructors / Destructor | |
SimpleUTGenerator () | |
Default constructor. More... | |
virtual | ~SimpleUTGenerator () |
Destructor. More... | |
UT generation methods | |
virtual void | generateUT (const Idx &varId, const Potential< float > &ut) |
Generates a UT using floats. More... | |
virtual void | generateUT (const Idx &varId, const Potential< double > &ut) |
Generates a UT using doubles. More... | |
Class for generating Utility Tables.
This class implements a CPTGenerator UT generation algorithm.
Definition at line 43 of file simpleUTGenerator.h.
gum::SimpleUTGenerator::SimpleUTGenerator | ( | ) |
Default constructor.
Definition at line 34 of file simpleUTGenerator.cpp.
References gum::Set< Key, Alloc >::emplace().
|
virtual |
Destructor.
Definition at line 40 of file simpleUTGenerator.cpp.
References gum::Set< Key, Alloc >::emplace().
|
virtual |
Generates a UT using floats.
varId | The variable id of the UT owner. |
ut | A reference on the UT to fill. |
Implements gum::UTGenerator.
Definition at line 48 of file simpleUTGenerator.cpp.
References gum::Set< Key, Alloc >::emplace().
|
virtual |
Generates a UT using doubles.
varId | The variable id of the UT owner. |
ut | A reference on the UT to fill. |
Implements gum::UTGenerator.
Definition at line 60 of file simpleUTGenerator.cpp.
References gum::Set< Key, Alloc >::emplace().