13#if !defined(ULTRA_GA_PRIMITIVE_H)
14#define ULTRA_GA_PRIMITIVE_H
51 [[nodiscard]]
constexpr int min() const noexcept {
return interval_.min; }
52 [[nodiscard]]
constexpr int sup() const noexcept {
return interval_.sup; }
integer(interval< int > interval={-1000, 1000}, symbol::category_t category=symbol::undefined_category)
Definition ga/primitive.h:45
value_t instance() const final
Definition ga/primitive.h:54
static constexpr category_t undefined_category
Sentinel value indicating that the category has not yet been assigned.
Definition symbol.h:61
category_t category() const noexcept
Definition symbol.cc:79
unsigned category_t
Definition symbol.h:55
std::variant< D_VOID, D_INT, D_DOUBLE, D_STRING, const D_NULLARY *, D_ADDRESS, const D_VARIABLE *, D_IVECTOR > value_t
Definition value.h:54
std::ranges::range_reference_t< const C > element(const C &c)
Definition random.h:114