![]() |
Vcsn
2.6
Be Rational
|
#include <random>#include <vcsn/ctx/traits.hh>#include <vcsn/dyn/context.hh>#include <vcsn/dyn/value.hh>#include <vcsn/weightset/weightset.hh>Go to the source code of this file.
Namespaces | |
| vcsn | |
| vcsn::dyn | |
| vcsn::dyn::detail | |
Functions | |
| template<typename WeightSet > | |
| WeightSet::value_t | vcsn::random_weight (const WeightSet &ws, const std::string ¶m={}) |
| Generate a random weight. More... | |
| template<typename Context , typename String > | |
| weight | vcsn::dyn::detail::random_weight (const context &ctx, const std::string ¶m) |
| Bridge. More... | |