![]() |
aGrUM
0.16.0
|
Abstract class for generating Utility Tables. More...
#include <UTGenerator.h>
Public Member Functions | |
Constructors / Destructor | |
UTGenerator () | |
Default constructor. More... | |
virtual | ~UTGenerator () |
Destructor. More... | |
UT generation methods | |
virtual void | generateUT (const Idx &varId, const Potential< float > &ut)=0 |
Generates a UT using floats. More... | |
virtual void | generateUT (const Idx &varId, const Potential< double > &ut)=0 |
Generates a UT using doubles. More... | |
Abstract class for generating Utility Tables.
This abstract class is an implementation of the strategy pattern to help changing UT generation policies for the InfluenceDiagramGenerator class.
Definition at line 43 of file UTGenerator.h.
gum::UTGenerator::UTGenerator | ( | ) |
|
virtual |
|
pure virtual |
Generates a UT using floats.
varId | The variable id of the UT owner. |
ut | A reference on the UT to fill. |
Implemented in gum::SimpleUTGenerator.
|
pure virtual |
Generates a UT using doubles.
varId | The variable id of the UT owner. |
ut | A reference on the UT to fill. |
Implemented in gum::SimpleUTGenerator.