![]() |
Vcsn
2.8
Be Rational
|
Random generation. More...
#include <q.hh>
Public Types | |
| using | super_t = random_weight_base< q, RandomGenerator > |
| using | value_t = typename super_t::weight_t |
Public Types inherited from vcsn::detail::random_weight_base< q, RandomGenerator > | |
| using | weightset_t = q |
| using | weight_t = typename weightset_t::value_t |
| using | random_generator_t = RandomGenerator |
Private Member Functions | |
| value_t | pick_value_ () const |
Random generation.
| using vcsn::detail::random_weight< q, RandomGenerator >::super_t = random_weight_base<q, RandomGenerator> |
| using vcsn::detail::random_weight< q, RandomGenerator >::value_t = typename super_t::weight_t |
|
inlineprivatevirtual |
Implements vcsn::detail::random_weight_base< q, RandomGenerator >.
Definition at line 321 of file q.hh.
References vcsn::detail::q_impl::value_t::den, vcsn::detail::q_impl::value_t::num, and vcsn::detail::VCSN_JOIN_SIMPLE().