Vaucanson  1.4.1
extension.hh
Go to the documentation of this file.
1 // extension.hh: this file is part of the Vaucanson project.
2 //
3 // Vaucanson, a generic library for finite state machines.
4 //
5 // Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 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 #ifndef VCSN_ALGORITHMS_EXTENSION_HH
18 # define VCSN_ALGORITHMS_EXTENSION_HH
19 
30 // Interface: Transducer extension(const Automaton& a) { return vcsn::extension(*a); }
31 // Interface: void extension(const Automaton& a, Transducer& res) { vcsn::extension(*a, *t); }
32 
33 # include <vaucanson/automata/concept/transducer.hh>
34 
35 namespace vcsn {
36 
45  template <typename S, typename K, typename T>
46  typename identity_transducer_helper<S, K, T>::ret
47  extension(const Element<S, T>&);
48 
49 
59  template <typename SA, typename TA,
60  typename ST, typename TT>
61  Element<ST, TT>
62  extension(const Element<SA, TA>&,
63  const Element<ST, TT>&);
64 
67 }
68 
69 # if !defined VCSN_USE_INTERFACE_ONLY && !defined VCSN_USE_LIB
70 # include <vaucanson/algorithms/extension.hxx>
71 # endif // VCSN_USE_INTERFACE_ONLY
72 
73 #endif // ! VCSN_ALGORITHMS_EXTENSION_HH