aGrUM  0.17.2
a C++ library for (probabilistic) graphical models
simpleUTGenerator.h
Go to the documentation of this file.
1 
28 #ifndef GUM_SIMPLE_UT_GENERATOR_H
29 #define GUM_SIMPLE_UT_GENERATOR_H
30 
31 #include <cstdlib>
32 
34 
35 namespace gum {
36 
44  public:
45  // ############################################################################
47  // ############################################################################
49 
53 
57  virtual ~SimpleUTGenerator();
59 
60  // ############################################################################
62  // ############################################################################
64 
69  virtual void generateUT(const Idx& varId, const Potential< float >& ut);
70 
76  virtual void generateUT(const Idx& varId, const Potential< double >& ut);
78  };
79 
80 } /* namespace gum */
81 
82 #endif /* GUM_SIMPLE_UT_GENERATOR_H */
aGrUM&#39;s Potential is a multi-dimensional array with tensor operators.
Definition: potential.h:60
Class for generating Utility Tables.
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
SimpleUTGenerator()
Default constructor.
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
Definition: agrum.h:25
virtual void generateUT(const Idx &varId, const Potential< float > &ut)
Generates a UT using floats.
virtual ~SimpleUTGenerator()
Destructor.
Size Idx
Type for indexes.
Definition: types.h:53
Abstract class for generating Utility Tables.
Definition: UTGenerator.h:43