Vcsn  2.4
Be Rational
random-automaton.hh File Reference
Include dependency graph for random-automaton.hh:

Go to the source code of this file.

Namespaces

 vcsn
 
 vcsn::dyn
 
 vcsn::dyn::detail
 

Functions

template<typename Ctx >
mutable_automaton< Ctx > vcsn::random_automaton (const Ctx &ctx, unsigned num_states, float density=0.1, unsigned num_initial=1, unsigned num_final=1, boost::optional< unsigned > max_labels={}, float loop_chance=0.0, const std::string &weights="")
 Produce a random automaton. More...
 
template<typename Ctx , typename NumStates , typename Density , typename NumInitial , typename NumFinal , typename MaxLabels , typename LoopChance , typename String >
automaton vcsn::dyn::detail::random_automaton (const context &ctx, unsigned num_states, float density, unsigned num_initial, unsigned num_final, boost::optional< unsigned > max_labels, float loop_chance, const std::string &weights)
 Bridge. More...
 
template<typename Ctx >
mutable_automaton< Ctx > vcsn::random_automaton_deterministic (const Ctx &ctx, unsigned num_states)
 
template<typename Ctx , typename >
automaton vcsn::dyn::detail::random_automaton_deterministic (const context &ctx, unsigned num_states)
 Bridge. More...