Vaucanson  1.4.1
automata/generic_contexts/int_boolean_transducer_structures.hh
1 // int_boolean_transducer_structures.hh: this file is part of the Vaucanson project.
2 //
3 // Vaucanson, a generic library for finite state machines.
4 //
5 // Copyright (C) 2008, 2010 The Vaucanson Group.
6 //
7 // This program is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU General Public License
9 // as published by the Free Software Foundation; either version 2
10 // of the License, or (at your option) any later version.
11 //
12 // The complete GNU General Public Licence Notice can be found as the
13 // `COPYING' file in the root directory.
14 //
15 // The Vaucanson Group consists of people listed in the `AUTHORS' file.
16 //
17 
18 /*
19  * CPP guard should not be inserted here as
20  * VCSN_GRAPH_IMPL could be changed.
21  */
22 
23 # include GRAPH_CONTEXT_HEADER_(int_boolean_automaton_structures.hh)
24 
25 # define AUTOMATON_CONTEXT int_boolean_automaton
26 # define VCSN_CONTEXT_NAMESPACE namespace int_boolean_transducer
27 
28 # include <vaucanson/contexts/int_letter.thh>
29 # include <vaucanson/contexts/dynamic_alphabet.thh>
30 # include <vaucanson/contexts/free_monoid.thh>
31 
32 namespace vcsn
33 {
34  namespace VCSN_GRAPH_IMPL
35  {
36  VCSN_CONTEXT_NAMESPACE
37  {
38  typedef AUTOMATON_CONTEXT::semiring_elt_t output_semiring_elt_t;
39  typedef output_semiring_elt_t::set_t output_semiring_t;
40  typedef output_semiring_elt_t::value_t output_semiring_elt_value_t;
41 
42  typedef AUTOMATON_CONTEXT::rat_exp_t output_series_set_elt_t;
43  typedef output_series_set_elt_t::set_t output_series_set_t;
44  typedef output_series_set_elt_t::value_t output_series_set_elt_value_t;
45  } // End of namespace VCSN_CONTEXT_NAMESPACE.
46  } // End of namespace VCSN_GRAPH_IMPL
47 } // End of namespace vcsn
48 
49 # include <vaucanson/contexts/ratseries_semiring.thh>
50 # include <vaucanson/contexts/generic_series.thh>
51 # include <vaucanson/contexts/generic_automaton_impl.thh>
52 # include <vaucanson/contexts/transducer.thh>
53 
54 /* Specializations */
55 # include <vaucanson/algebra/implementation/monoid/free_monoid_int.hh>
56 
57 namespace vcsn
58 {
59  namespace VCSN_GRAPH_IMPL
60  {
61  VCSN_CONTEXT_NAMESPACE
62  {
63  AUTOMATON_TYPES_EXACT(automaton_t);
64  AUTOMATON_FREEMONOID_TYPES_EXACT(automaton_t);
65 
66  typedef automaton_t::input_monoid_t::alphabet_t first_alphabet_t;
67  typedef automaton_t::output_monoid_t::alphabet_t second_alphabet_t;
68  } // End of namespace VCSN_CONTEXT_NAMESPACE
69  } // End of namespace VCSN_GRAPH_IMPL
70 } // End of namespace vcsn
71 
72 # include <vaucanson/contexts/transducer_maker.thh>
73 
74 # undef AUTOMATON_CONTEXT
75 # undef VCSN_CONTEXT_NAMESPACE
76