Vcsn  2.2
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
context<lat<nullableset<letterset<char_letters>>, nullableset<letterset<char_letters>>>, nmin>.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>
7 #include <vcsn/ctx/context.hh>
8 #include <vcsn/dyn/registries.hh>
11 #include <vcsn/misc/attributes.hh>
12 #include <vcsn/misc/name.hh>
13 #include <vcsn/weightset/nmin.hh>
14 
17 
18 
19 // levenshtein.
20 using t0_t =
25  >,
28  >
29  >,
31  >;
32 
35  vcsn::ssignature<t0_t>(),
36  vcsn::dyn::detail::levenshtein<t0_t>
37  );
mutable_automaton< Context > levenshtein(const Context &ctx)
The Levenshtein automaton for a given context.
Definition: levenshtein.hh:17
static bool levenshtein ATTRIBUTE_USED
Implementation of labels are nullables (letter or empty).
Definition: fwd.hh:15
bool levenshtein_register(const signature &sig, levenshtein_t fn)
Definition: algos.cc:836
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
Provide a variadic mul on top of a binary mul(), and one().
Definition: fwd.hh:46
Implementation of labels are letters.
Definition: fwd.hh:11