Vaucanson  1.4.1
rw_composition.hh
Go to the documentation of this file.
1 // rw_composition.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, 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_RW_COMPOSITION_HH
18 # define VCSN_ALGORITHMS_RW_COMPOSITION_HH
19 
30 // INTERFACE: Automaton rw_composition(const Automaton& a, const Automaton& b) { return vcsn::rw_composition(*a, *b); }
31 // INTERFACE: void rw_composition(const Automaton& a, const Automaton& b, Automaton& c) { vcsn::rw_composition(*a, *b, *c); }
32 
33 # include <vaucanson/design_pattern/design_pattern.hh>
34 
35 namespace vcsn {
36 
44  template<typename S, typename T>
45  void
46  rw_composition(const Element<S, T>& lhs, const Element<S, T>& rhs, Element<S, T>& ret);
47 
53  template<typename S, typename T>
54  Element<S, T>
55  rw_composition(const Element<S, T>& lhs, const Element<S, T>& rhs);
56 
59 }
60 
61 # if !defined VCSN_USE_INTERFACE_ONLY && !defined VCSN_USE_LIB
62 # include <vaucanson/algorithms/rw_composition.hxx>
63 # endif // VCSN_USE_INTERFACE_ONLY
64 
65 #endif // ! VCSN_ALGORITHMS_RW_COMPOSITION_HH