Vcsn
2.0
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 | |
FIXME: duplicate code with determinize. | |
vcsn::dyn::detail | |
Functions | |
template<typename RandomGenerator = std::default_random_engine> | |
oneset::value_t | vcsn::random_label (const oneset &ls, RandomGenerator &=RandomGenerator()) |
template<typename... LabelSet, typename RandomGenerator = std::default_random_engine> | |
tupleset< LabelSet...>::value_t | vcsn::random_label (const tupleset< LabelSet...> &ls, RandomGenerator &gen=RandomGenerator()) |
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...>) |
template<typename LabelSet , typename RandomGenerator = std::default_random_engine> | |
LabelSet::value_t | vcsn::random_label (const LabelSet &ls, RandomGenerator &gen=RandomGenerator()) |
template<typename LabelSet , typename RandomGenerator = std::default_random_engine> | |
nullableset< LabelSet >::value_t | vcsn::random_label (const nullableset< LabelSet > &ls, RandomGenerator &gen=RandomGenerator()) |
template<typename Context , typename RandomGenerator = std::default_random_engine> | |
ratexpset< Context >::value_t | vcsn::random_label (const ratexpset< Context > &rs, RandomGenerator &gen=RandomGenerator()) |
template<typename Ctx > | |
mutable_automaton< Ctx > | vcsn::random (const Ctx &ctx, unsigned num_states, float density=0.1, unsigned num_initial=1, unsigned num_final=1) |
template<typename Ctx , typename , typename , typename , typename > | |
automaton | vcsn::dyn::detail::random (const context &ctx, unsigned num_states, float density, unsigned num_initial=1, unsigned num_final=1) |
Bridge. More... | |
vcsn::dyn::detail::REGISTER_DECLARE (random,(const context &ctx, unsigned n, float density, unsigned num_initial, unsigned num_final) -> automaton) | |
template<typename Ctx > | |
mutable_automaton< Ctx > | vcsn::random_deterministic (const Ctx &ctx, unsigned num_states) |
template<typename Ctx , typename > | |
automaton | vcsn::dyn::detail::random_deterministic (const context &ctx, unsigned num_states) |
Bridge. More... | |
vcsn::dyn::detail::REGISTER_DECLARE (random_deterministic,(const context &ctx, unsigned n) -> automaton) | |