Vaucanson  1.4.1
cut_up.hh
Go to the documentation of this file.
1 // cut_up.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_CUT_UP_HH
18 # define VCSN_ALGORITHMS_CUT_UP_HH
19 
28 // INTERFACE: bool is_cut_up(const Automaton& a) { return vcsn::is_cut_up(*a); }
29 
30 // INTERFACE: Automaton cut_up(const Automaton& a) { return vcsn::cut_up(*a); }
31 // INTERFACE: void cut_up(const Automaton& a, Automaton& res) { vcsn::cut_up(*a, *res); }
32 
33 # include <vaucanson/automata/concept/copy.hh>
34 # include <vaucanson/algebra/implementation/series/rat/nodes.hh>
35 # include <vaucanson/algebra/implementation/series/generalized.hh>
37 
38 namespace vcsn
39 {
40 
48  template <typename A, typename AI>
49  bool is_cut_up(const Element<A, AI>& a);
50 
51 
65  template <typename A, typename AI>
66  Element<A, AI>
67  cut_up(const Element<A, AI>& a);
68 
69 
83  template <typename A, typename AI>
84  void
85  cut_up(const Element<A, AI>& a, Element<A, AI>& res);
86 
87 
100  template <typename A, typename AI>
101  void
102  cut_up_here(Element<A, AI>& a);
103 
104 
105 } // ! vcsn
106 
107 
108 # if !defined VCSN_USE_INTERFACE_ONLY && !defined VCSN_USE_LIB
110 # endif // VCSN_USE_INTERFACE_ONLY
111 
112 
113 #endif // ! VCSN_ALGORITHMS_CUT_UP_HH