Vcsn  2.4
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:
This graph shows which files directly or indirectly include this file:

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...