Vcsn  2.0
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
double-ring.cc
Go to the documentation of this file.
1 #include <vector>
2 
4 #include <vcsn/dyn/algos.hh>
6 
7 namespace vcsn
8 {
9  namespace dyn
10  {
11 
12  REGISTER_DEFINE(double_ring);
13 
14  automaton
15  double_ring(const context& ctx, unsigned n, const std::vector<unsigned>& f)
16  {
17  return detail::double_ring_registry().call(ctx, n, f);
18  }
19  }
20 }
std::shared_ptr< detail::automaton_base > automaton
Definition: automaton.hh:71
automaton double_ring(const context &ctx, unsigned n, const std::vector< unsigned > &f)
The double_ring automaton with n states and f the list of finals.
Definition: double-ring.cc:15
std::shared_ptr< const detail::context_base > context
Definition: context.hh:71