Vcsn  2.2
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
nsigned>, boost::optional<unsigned>.cc
Go to the documentation of this file.
1 #define BUILD_LIBVCSN 1
2 #define VCSN_INSTANTIATION 1
3 #define MAYBE_EXTERN
4 
5 #include <vcsn/alphabets/char.hh>
10 #include <vcsn/ctx/context.hh>
11 #include <vcsn/dyn/registries.hh>
13 #include <vcsn/misc/attributes.hh>
14 #include <vcsn/misc/name.hh>
15 #include <vcsn/weightset/b.hh>
16 #include <vcsn/weightset/q.hh>
17 
18 #include <vcsn/algos/shortest.hh>
19 
20 
21 // shortest.
22 using t0_t =
30  vcsn::q
31  >
32  >
33  >
34  >,
41  vcsn::q
42  >
43  >
44  >
45  >,
49  vcsn::b
50  >
51  >
52  >;
53 
54 using t1_t =
55  boost::optional<unsigned>;
56 
57 using t2_t =
58  boost::optional<unsigned>;
59 
60 static bool shortest ATTRIBUTE_USED =
62  vcsn::ssignature<t0_t, t1_t, t2_t>(),
63  vcsn::dyn::detail::shortest<t0_t, t1_t, t2_t>
64  );
std::shared_ptr< detail::tuple_automaton_impl< Auts...>> tuple_automaton
A tuple automaton as a shared pointer.
bool shortest_register(const signature &sig, shortest_t fn)
Definition: algos.cc:1169
detail::enumerater< Aut >::polynomial_t shortest(const Aut &aut, boost::optional< unsigned > num={}, boost::optional< unsigned > len={})
The approximated behavior of an automaton.
Definition: shortest.hh:267
static bool shortest ATTRIBUTE_USED
vcsn::compose_automaton< true, vcsn::focus_automaton< 1, vcsn::mutable_automaton< vcsn::context< vcsn::tupleset< vcsn::nullableset< vcsn::letterset< vcsn::set_alphabet< vcsn::char_letters >> >, vcsn::nullableset< vcsn::letterset< vcsn::set_alphabet< vcsn::char_letters >> > >, vcsn::b > > >, vcsn::insplit_automaton< vcsn::focus_automaton< 0, vcsn::mutable_automaton< vcsn::context< vcsn::tupleset< vcsn::nullableset< vcsn::letterset< vcsn::set_alphabet< vcsn::char_letters >> >, vcsn::nullableset< vcsn::letterset< vcsn::set_alphabet< vcsn::char_letters >> > >, vcsn::b > > > > > t0_t
Definition: b>>>>>.cc:61
bool t2_t
Definition: >, z>>, bool.cc:43
vcsn::mutable_automaton< vcsn::context< vcsn::letterset< vcsn::set_alphabet< vcsn::char_letters >>, vcsn::q > > t1_t
Provide a variadic mul on top of a binary mul(), and one().
Definition: fwd.hh:46
std::shared_ptr< detail::mutable_automaton_impl< Context >> mutable_automaton
Definition: fwd.hh:25
Implementation of labels are letters.
Definition: fwd.hh:11