Vcsn  2.3a
Be Rational
random-weight.hh File Reference
#include <random>
#include <vcsn/ctx/traits.hh>
#include <vcsn/dyn/context.hh>
#include <vcsn/dyn/value.hh>
#include <vcsn/weightset/weightset.hh>
Include dependency graph for random-weight.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 &param={})
 Generate a random weight. More...
 
template<typename Context , typename String >
weight vcsn::dyn::detail::random_weight (const context &ctx, const std::string &param)
 Bridge. More...