Vcsn  2.2
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
g.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>
9 #include <vcsn/ctx/context.hh>
10 #include <vcsn/dyn/registries.hh>
12 #include <vcsn/misc/attributes.hh>
13 #include <vcsn/misc/name.hh>
14 #include <vcsn/weightset/b.hh>
15 
16 #include <vcsn/algos/multiply.hh>
17 
18 
19 // multiply.
20 using t0_t =
25  vcsn::b
26  >
27  >
28  >;
29 
30 using t1_t =
34  vcsn::b
35  >
36  >;
37 
38 using t2_t =
39  const std::string;
40 
41 static bool multiply ATTRIBUTE_USED =
43  vcsn::ssignature<t0_t, t1_t, t2_t>(),
44  vcsn::dyn::detail::multiply<t0_t, t1_t, t2_t>
45  );
static bool multiply ATTRIBUTE_USED
Definition: g.cc:41
std::shared_ptr< detail::expression_automaton_impl< Aut >> expression_automaton
An expression automaton as a shared pointer.
Definition: fwd.hh:61
bool multiply_register(const signature &sig, multiply_t fn)
Definition: algos.cc:908
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
auto multiply(const Aut1 &lhs, const Aut2 &rhs, Tag tag={}) -> decltype(lhs->null_state(), detail::make_join_automaton(tag, lhs, rhs))
Concatenate two automata, general case.
Definition: multiply.hh:151
Implementation of labels are letters.
Definition: fwd.hh:11