32 #ifndef GUM_LEARNING_DB_TRANSLATED_VALUE_H 33 #define GUM_LEARNING_DB_TRANSLATED_VALUE_H 36 #include <agrum/agrum.h>
INLINE void emplace(Args &&... args)
std::size_t discr_val
the field for storing discrete values
The union class for storing the translated values in learning databases.
float cont_val
the field for storing continuous values
constexpr DBTranslatedValue()
default constructor: stores discrete value 0
DBTranslatedValueType
The nature of the elements handled by translators (discrete, continuous).
~DBTranslatedValue()
destructor
constexpr DBTranslatedValue(const std::size_t &val)
the constructor for storing a discrete value
Database(const std::string &filename, const BayesNet< GUM_SCALAR > &bn, const std::vector< std::string > &missing_symbols)
constexpr DBTranslatedValue(const float &val)
the constructor for storing a continuous value