Vaucanson  1.4.1
image.hh
Go to the documentation of this file.
1 // image.hh: this file is part of the Vaucanson project.
2 //
3 // Vaucanson, a generic library for finite state machines.
4 //
5 // Copyright (C) 2006, 2011 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_IMAGE_HH
19 # define VCSN_ALGORITHMS_IMAGE_HH
20 
31 // INTERFACE: void image(const Automaton& a, OutputProjection& b, bool w) { return vcsn::image(*a, *b, w); }
32 
33 # include <map>
34 
35 # include <vaucanson/automata/concept/transducer.hh>
36 # include <vaucanson/automata/concept/automata.hh>
37 # include <vaucanson/algebra/concept/freemonoid_product.hh>
38 
39 # include <vaucanson/algebra/implementation/monoid/free_monoid.hh>
40 # include <vaucanson/algebra/implementation/series/series.hh>
41 
43 
44 namespace vcsn
45 {
46 
47  template <typename S, typename T>
48  void
49  image(const Element<S, T>& aut,
50  typename output_projection_helper<S, T>::ret& res,
51  bool weighted = true);
52 
53  template <class S, class T>
54  typename output_projection_helper<S, T>::ret
55  image(const Element<S, T>&,
56  std::map<typename T::hstate_t, typename T::hstate_t>& m);
57 
58 
60  template <class S, class T>
61  typename output_projection_helper<S, T>::ret
62  image(const Element<S, T>&);
63 
64 } // End of namespace vcsn.
65 
66 
67 # if !defined VCSN_USE_INTERFACE_ONLY && !defined VCSN_USE_LIB
68 # include <vaucanson/algorithms/image.hxx>
69 # endif // !VCSN_USE_INTERFACE_ONLY
70 
71 #endif // !VCSN_ALGORITHMS_IMAGE_HH