Vaucanson  1.4.1
evaluation.hh
Go to the documentation of this file.
1 // evaluation.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, 2009 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_EVALUATION_HH
18 # define VCSN_ALGORITHMS_EVALUATION_HH
19 
21 // FIXME: rename this file to partial_evaluation, split with partial_elimination.
31 # include <vaucanson/design_pattern/design_pattern.hh>
32 
33 # include <vaucanson/automata/concept/handlers.hh>
34 
35 namespace vcsn
36 {
50  template<typename SA, typename TA,
51  typename M>
52  void
53  partial_elimination(const Element<SA, TA>& a,
54  M& state_exp_pair);
55 
74  template <typename S1, typename T1,
75  typename S2, typename T2,
76  typename M>
77  void
78  partial_evaluation(const Element<S1, T1>& E,
79  const Element<S2, T2>& S,
80  const typename Element<S2, T2>::hstate_t& p,
81  M& res);
82 
85 } // ! vcsn
86 
87 # if !defined VCSN_USE_INTERFACE_ONLY && !defined VCSN_USE_LIB
88 # include <vaucanson/algorithms/internal/evaluation.hxx>
89 # endif // ! VCSN_USE_INTERFACE_ONLY
90 
91 #endif // ! VCSN_ALGORITHMS_EVALUATION_HH