Vaucanson  1.4.1
automata/generic_contexts/boolean_transducer_structures.hh
1 // 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) 2007, 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_(boolean_automaton_structures.hh)
24 
25 # define AUTOMATON_CONTEXT boolean_automaton
26 # define VCSN_CONTEXT_NAMESPACE namespace boolean_transducer
27 
28 # include <vaucanson/contexts/char_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 namespace vcsn
55 {
56  namespace VCSN_GRAPH_IMPL
57  {
58  VCSN_CONTEXT_NAMESPACE
59  {
60  AUTOMATON_TYPES_EXACT(automaton_t);
61  AUTOMATON_FREEMONOID_TYPES_EXACT(automaton_t);
62 
63  typedef automaton_t::input_monoid_t::alphabet_t first_alphabet_t;
64  typedef automaton_t::output_monoid_t::alphabet_t second_alphabet_t;
65  } // End of namespace VCSN_CONTEXT_NAMESPACE
66  } // End of namespace VCSN_GRAPH_IMPL
67 } // End of namespace vcsn
68 
69 # include <vaucanson/contexts/transducer_maker.thh>
70 
71 # undef AUTOMATON_CONTEXT
72 # undef VCSN_CONTEXT_NAMESPACE
73