Vcsn  2.0
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
random.cc File Reference
Include dependency graph for random.cc:

Go to the source code of this file.

Namespaces

 vcsn
 
 vcsn::dyn
 FIXME: duplicate code with determinize.
 

Functions

automaton vcsn::dyn::random_automaton (const context &ctx, unsigned num_states, float density=0.1, unsigned num_initial=1, unsigned num_final=1)
 Produce a random automaton. More...
 
automaton vcsn::dyn::random_automaton_deterministic (const context &ctx, unsigned num_states)
 Produce a random deterministic automaton. More...