33 #ifndef GUM_LEARNING_DB_TRANSLATED_VALUE_H 34 #define GUM_LEARNING_DB_TRANSLATED_VALUE_H
std::size_t discr_val
the field for storing discrete values
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
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
constexpr DBTranslatedValue(const float &val)
the constructor for storing a continuous value