Vcsn
2.0
Be Rational
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
de-bruijn.cc
Go to the documentation of this file.
1
#include <
vcsn/algos/de-bruijn.hh
>
2
#include <
vcsn/dyn/algos.hh
>
3
#include <
lib/vcsn/algos/registry.hh
>
4
5
namespace
vcsn
6
{
7
namespace
dyn
8
{
9
10
REGISTER_DEFINE(
de_bruijn
);
11
12
automaton
13
de_bruijn
(
const
context
& ctx,
unsigned
n)
14
{
15
return
detail::de_bruijn_registry().call(ctx, n);
16
}
17
}
18
}
vcsn::dyn::automaton
std::shared_ptr< detail::automaton_base > automaton
Definition:
automaton.hh:71
vcsn::dyn::de_bruijn
automaton de_bruijn(const context &ctx, unsigned n)
A simple NFA for (a+b)*a(a+b)^n.
Definition:
de-bruijn.cc:13
registry.hh
algos.hh
vcsn::dyn::context
std::shared_ptr< const detail::context_base > context
Definition:
context.hh:71
de-bruijn.hh
lib
vcsn
algos
de-bruijn.cc
Generated by
1.8.7