![]() |
Vcsn
2.2
Be Rational
|
#include <vcsn/ctx/traits.hh>
#include <vcsn/core/mutable-automaton.hh>
#include <vcsn/dyn/automaton.hh>
#include <vcsn/dyn/context.hh>
#include <vcsn/labelset/nullableset.hh>
#include <vcsn/labelset/oneset.hh>
#include <vcsn/labelset/tupleset.hh>
#include <vcsn/misc/raise.hh>
#include <vcsn/misc/random.hh>
#include <vcsn/misc/set.hh>
Go to the source code of this file.
Namespaces | |
vcsn | |
vcsn::dyn | |
vcsn::dyn::detail | |
Functions | |
template<typename RandomGenerator = std::default_random_engine> | |
oneset::value_t | vcsn::random_label (const oneset &ls, RandomGenerator &=RandomGenerator()) |
Random label from oneset. More... | |
template<typename... LabelSet, typename RandomGenerator = std::default_random_engine> | |
tupleset< LabelSet... >::value_t | vcsn::random_label (const tupleset< LabelSet... > &ls, RandomGenerator &gen=RandomGenerator()) |
Random label from tupleset. More... | |
template<typename... LabelSet, size_t... I, typename RandomGenerator = std::default_random_engine> | |
tupleset< LabelSet... >::value_t | vcsn::random_label_ (const tupleset< LabelSet... > &ls, RandomGenerator &gen, detail::index_sequence< I... >) |
Implementation detail for random label from tupleset. More... | |
template<typename GenSet , typename RandomGenerator = std::default_random_engine> | |
wordset< GenSet >::value_t | vcsn::random_label (const wordset< GenSet > &ls, RandomGenerator &gen=RandomGenerator()) |
Random label from wordset. More... | |
template<typename LabelSet , typename RandomGenerator = std::default_random_engine> | |
LabelSet::value_t | vcsn::random_label (const LabelSet &ls, RandomGenerator &gen=RandomGenerator()) |
Random label from general case such as letterset. More... | |
template<typename LabelSet , typename RandomGenerator = std::default_random_engine> | |
nullableset< LabelSet >::value_t | vcsn::random_label (const nullableset< LabelSet > &ls, RandomGenerator &gen=RandomGenerator()) |
Random label from nullableset. More... | |
template<typename Context , typename RandomGenerator = std::default_random_engine> | |
expressionset< Context >::value_t | vcsn::random_label (const expressionset< Context > &rs, RandomGenerator &gen=RandomGenerator()) |
Random label from expressionset: limited to a single label. More... | |
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, float loop_chance=0.0) |
template<typename Ctx , typename , typename , typename , typename , typename > | |
automaton | vcsn::dyn::detail::random_automaton (const context &ctx, unsigned num_states, float density, unsigned num_initial, unsigned num_final, float loop_chance) |
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... | |