64 o <<
"\\mathbb{R}_{\\text{min}}";
84 template <
typename RandomGenerator>
92 using super_t::super_t;
98 std::uniform_real_distribution<rmin::value_t>(super_t::min_, super_t::max_);
99 return dis(super_t::gen_);
Print as is. For instance, don't try to escape labels.
char eat(std::istream &is, char c)
Check lookahead character and advance.
Print as a parsable type string.
Generic declaration of the class which is specialized in each weightset.
typename super_t::value_t value_t
static constexpr bool has_lightening_weights()
std::ostream & print_set(std::ostream &o, format fmt={}) const
An input/output format for valuesets.
Abstract class for random weight generation.
Provide a variadic mul on top of a binary mul(), and one().
boost::flyweight< std::string, boost::flyweights::no_tracking, boost::flyweights::intermodule_holder > symbol
An internalized string.
static value_t conv(self_t, value_t v)
value_t pick_value_() const
Print as rich UTF-8 text, escaped.
static value_t conv(b, b::value_t v)
Print as plain (ASCII) text, escaped.
typename super_t::weight_t value_t
typename rmin::value_t weight_t
weightset_mixin< detail::rmin_impl > rmin
static value_t conv(zmin, const zmin::value_t v)
static rmin make(std::istream &is)
Build from the description in is.
static value_t conv(nmin, const nmin::value_t v)