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-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
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