Vaucanson 1.4
|
00001 // cut_up.hh: this file is part of the Vaucanson project. 00002 // 00003 // Vaucanson, a generic library for finite state machines. 00004 // 00005 // Copyright (C) 2005, 2006, 2008 The Vaucanson Group. 00006 // 00007 // This program is free software; you can redistribute it and/or 00008 // modify it under the terms of the GNU General Public License 00009 // as published by the Free Software Foundation; either version 2 00010 // of the License, or (at your option) any later version. 00011 // 00012 // The complete GNU General Public Licence Notice can be found as the 00013 // `COPYING' file in the root directory. 00014 // 00015 // The Vaucanson Group consists of people listed in the `AUTHORS' file. 00016 // 00017 #ifndef VCSN_ALGORITHMS_CUT_UP_HH 00018 # define VCSN_ALGORITHMS_CUT_UP_HH 00019 00028 // INTERFACE: bool is_cut_up(const Automaton& a) { return vcsn::is_cut_up(*a); } 00029 00030 // INTERFACE: Automaton cut_up(const Automaton& a) { return vcsn::cut_up(*a); } 00031 // INTERFACE: void cut_up(const Automaton& a, Automaton& res) { vcsn::cut_up(*a, *res); } 00032 00033 # include <vaucanson/automata/concept/copy.hh> 00034 # include <vaucanson/algebra/implementation/series/rat/nodes.hh> 00035 # include <vaucanson/algebra/implementation/series/generalized.hh> 00036 # include <vaucanson/algorithms/standard_of.hh> 00037 00038 namespace vcsn 00039 { 00040 00048 template <typename A, typename AI> 00049 bool is_cut_up(const Element<A, AI>& a); 00050 00051 00065 template <typename A, typename AI> 00066 Element<A, AI> 00067 cut_up(const Element<A, AI>& a); 00068 00069 00083 template <typename A, typename AI> 00084 void 00085 cut_up(const Element<A, AI>& a, Element<A, AI>& res); 00086 00087 00100 template <typename A, typename AI> 00101 void 00102 cut_up_here(Element<A, AI>& a); 00103 00104 00105 } // ! vcsn 00106 00107 00108 # if !defined VCSN_USE_INTERFACE_ONLY && !defined VCSN_USE_LIB 00109 # include <vaucanson/algorithms/cut_up.hxx> 00110 # endif // VCSN_USE_INTERFACE_ONLY 00111 00112 00113 #endif // ! VCSN_ALGORITHMS_CUT_UP_HH