Vaucanson  1.4.1
generalized.hh
1 // generalized.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, 2007 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_ALGEBRA_IMPLEMENTATION_SERIES_GENERALIZED_HH
18 # define VCSN_ALGEBRA_IMPLEMENTATION_SERIES_GENERALIZED_HH
19 
21 # include <vaucanson/algebra/concept/series_base.hh>
22 # include <vaucanson/algebra/implementation/series/polynoms.hh>
23 # include <vaucanson/algebra/implementation/series/krat.hh>
24 
25 namespace vcsn {
26 
27  namespace algebra {
28 
29  /*----------------------.
30  | Generalized converter |
31  `----------------------*/
32  template<typename W, typename M, typename Tm, typename Tw>
33  rat::exp<Tm, Tw> op_convert(const algebra::Series<W, M>& s1,
34  SELECTOR2(rat::exp<Tm, Tw>),
35  const algebra::Series<W, M>& s2,
36  const algebra::polynom<Tm, Tw>& p_value);
37 
38  } // algebra
39 
40 } // vcsn
41 
42 
43 # if !defined VCSN_USE_INTERFACE_ONLY || defined VCSN_USE_LIB
44 # include <vaucanson/algebra/implementation/series/generalized.hxx>
45 #endif // VCSN_USE_INTERFACE_ONLY
46 
47 
48 #endif // ! VCSN_ALGEBRA_IMPLEMENTATION_SERIES_GENERALIZED_HH