Vaucanson  1.4.1
eps_removal_sp.hh
Go to the documentation of this file.
1 // eps_removal_sp.hh: this file is part of the Vaucanson project.
2 //
3 // Vaucanson, a generic library for finite state machines.
4 //
5 // Copyright (C) 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_EPS_REMOVAL_SP_HH
18 # define VCSN_ALGORITHMS_EPS_REMOVAL_SP_HH
19 
33 // INTERFACE: void forward_eps_removal_here_sp(Automaton& a) { return vcsn::forward_eps_removal_here(*a); }
34 
35 // INTERFACE: Automaton forward_eps_removal_sp(const Automaton& a) { return vcsn::forward_eps_removal(*a); }
36 
37 // INTERFACE: void backward_eps_removal_here_sp(Automaton& a) { return vcsn::backward_eps_removal_here(*a); }
38 
39 // INTERFACE: Automaton backward_eps_removal_sp(const Automaton& a) { return vcsn::backward_eps_removal(*a); }
40 
41 // INTERFACE: void eps_removal_here_sp(Automaton& a, vcsn::misc::direction_type dir) { return vcsn::eps_removal_here(*a); }
42 
43 // INTERFACE: Automaton eps_removal_sp(const Automaton& a, vcsn::misc::direction_type dir) { return vcsn::eps_removal(*a); }
44 
45 # include <vaucanson/design_pattern/design_pattern.hh>
47 
48 namespace vcsn {
49 
67  template<typename A, typename AI>
68  void
69  eps_removal_here_sp(Element<A, AI>& a, misc::direction_type dir = misc::backward);
70 
71 
87  template<typename A, typename AI>
88  Element<A, AI>
89  eps_removal_sp(const Element<A, AI>& a, misc::direction_type dir = misc::backward);
90 
91 
106  template<typename A, typename AI>
107  void
108  backward_eps_removal_here_sp(Element<A, AI>& a);
109 
110 
125  template<typename A, typename AI>
126  Element<A, AI>
127  backward_eps_removal_sp(const Element<A, AI>& a);
128 
129 
144  template<typename A, typename AI>
145  void
146  forward_eps_removal_here_sp(Element<A, AI>& a);
147 
148 
163  template<typename A, typename AI>
164  Element<A, AI>
165  forward_eps_removal_sp(const Element<A, AI>& a);
166 
168 
169 } // vcsn
170 
171 
172 # if !defined VCSN_USE_INTERFACE_ONLY && !defined VCSN_USE_LIB
173 # include <vaucanson/algorithms/eps_removal_sp.hxx>
174 # endif // VCSN_USE_INTERFACE_ONLY
175 
176 #endif // ! VCSN_ALGORITHMS_EPS_REMOVAL_SP_HH