Vaucanson  1.4.1
sub_normalize.hh
Go to the documentation of this file.
1 // sub_normalize.hh: this file is part of the Vaucanson project.
2 //
3 // Vaucanson, a generic library for finite state machines.
4 //
5 // Copyright (C) 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_SUB_NORMALIZE_HH
18 # define VCSN_ALGORITHMS_SUB_NORMALIZE_HH
19 
20 
35 // INTERFACE: Automaton sub_normalize(const Automaton& a1) { return vcsn::sub_normalize(*a1); }
36 // INTERFACE: void sub_normalize_here(Automaton& a1) { return vcsn::sub_normalize_here(*a1); }
37 // INTERFACE: bool is_sub_normalized(const Automaton& a1) { return vcsn::is_sub_normalized(*a1); }
38 
39 # include <vaucanson/algebra/concept/freemonoid_product.hh>
40 # include <vaucanson/automata/concept/copy.hh>
42 # include <vector>
43 
44 namespace vcsn
45 {
46 
56  template <class S, class T>
57  Element<S, T>
58  sub_normalize(const Element<S, T>& a);
59 
67  template <class S, class T1, class T2>
68  void
69  sub_normalize(const Element<S, T1>& a, Element<S, T2>& res);
70 
71 
77  template <class S, class T>
78  void
79  sub_normalize_here(Element<S, T>& a);
80 
81 
89  template <class S, class T>
90  bool is_sub_normalized(const Element<S, T>& a);
91 
94 } // ! vcsn
95 
96 # if !defined VCSN_USE_INTERFACE_ONLY && !defined VCSN_USE_LIB
98 # endif // VCSN_USE_INTERFACE_ONLY
99 
100 #endif // ! VCSN_ALGORITHMS_SUB_NORMALIZE_HH