Vaucanson 1.4
aut_projection.hh
Go to the documentation of this file.
00001 // aut_projection.hh: this file is part of the Vaucanson project.
00002 //
00003 // Vaucanson, a generic library for finite state machines.
00004 //
00005 // Copyright (C) 2008 The Vaucanson Group.
00006 //
00007 // This program is free software; you can redistribute it and/or
00008 // modify it under the terms of the GNU General Public License
00009 // as published by the Free Software Foundation; either version 2
00010 // of the License, or (at your option) any later version.
00011 //
00012 // The complete GNU General Public Licence Notice can be found as the
00013 // `COPYING' file in the root directory.
00014 //
00015 // The Vaucanson Group consists of people listed in the `AUTHORS' file.
00016 //
00017 
00018 #ifndef VCSN_ALGORITHMS_AUT_PROJECTION_HH
00019 # define VCSN_ALGORITHMS_AUT_PROJECTION_HH
00020 
00032 // INTERFACE: void first_projection(const Automaton& a, FirstProjection& b) { return vcsn::first_projection(*a, *b); }
00033 // INTERFACE: void second_projection(const Automaton& a, SecondProjection& b) { return vcsn::second_projection(*a, *b); }
00034 
00035 # include <map>
00036 
00037 # include <vaucanson/automata/concept/automata.hh>
00038 
00039 namespace vcsn
00040 {
00041   template <typename S, typename T>
00042   void
00043   first_projection(const Element<S, T>&,
00044                    typename projection_traits<S, T>::first_projection_t&);
00045 
00046   template <typename S, typename T>
00047   typename projection_traits<S, T>::first_projection_t
00048   first_projection(const Element<S, T>&);
00049 
00050   template <typename S, typename T>
00051   void
00052   second_projection(const Element<S, T>&,
00053                     typename projection_traits<S, T>::second_projection_t&);
00054 
00055   template <typename S, typename T>
00056   typename projection_traits<S, T>::second_projection_t
00057   second_projection(const Element<S, T>&);
00058 
00059 } // ! vcsn
00060 
00061 # if !defined VCSN_USE_INTERFACE_ONLY && !defined VCSN_USE_LIB
00062 #  include <vaucanson/algorithms/aut_projection.hxx>
00063 # endif // ! VCSN_USE_INTERFACE_ONLY
00064 
00065 #endif // ! VCSN_ALGORITHMS_AUT_PROJECTION_HH