Vaucanson  1.4.1
aut_projection.hh
Go to the documentation of this file.
1 // aut_projection.hh: this file is part of the Vaucanson project.
2 //
3 // Vaucanson, a generic library for finite state machines.
4 //
5 // Copyright (C) 2008 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 #ifndef VCSN_ALGORITHMS_AUT_PROJECTION_HH
19 # define VCSN_ALGORITHMS_AUT_PROJECTION_HH
20 
32 // INTERFACE: void first_projection(const Automaton& a, FirstProjection& b) { return vcsn::first_projection(*a, *b); }
33 // INTERFACE: void second_projection(const Automaton& a, SecondProjection& b) { return vcsn::second_projection(*a, *b); }
34 
35 # include <map>
36 
37 # include <vaucanson/automata/concept/automata.hh>
38 
39 namespace vcsn
40 {
41  template <typename S, typename T>
42  void
43  first_projection(const Element<S, T>&,
44  typename projection_traits<S, T>::first_projection_t&);
45 
46  template <typename S, typename T>
47  typename projection_traits<S, T>::first_projection_t
48  first_projection(const Element<S, T>&);
49 
50  template <typename S, typename T>
51  void
52  second_projection(const Element<S, T>&,
53  typename projection_traits<S, T>::second_projection_t&);
54 
55  template <typename S, typename T>
56  typename projection_traits<S, T>::second_projection_t
57  second_projection(const Element<S, T>&);
58 
59 } // ! vcsn
60 
61 # if !defined VCSN_USE_INTERFACE_ONLY && !defined VCSN_USE_LIB
62 # include <vaucanson/algorithms/aut_projection.hxx>
63 # endif // ! VCSN_USE_INTERFACE_ONLY
64 
65 #endif // ! VCSN_ALGORITHMS_AUT_PROJECTION_HH