30 #ifndef GUM_LEARNING_DB_TRANSLATED_VALUE_H 31 #define GUM_LEARNING_DB_TRANSLATED_VALUE_H
std::size_t discr_val
the field for storing discrete values
gum is the global namespace for all aGrUM entities
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