Vaucanson 1.4
sub_normalize.hh
Go to the documentation of this file.
00001 // sub_normalize.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_SUB_NORMALIZE_HH
00018 # define VCSN_ALGORITHMS_SUB_NORMALIZE_HH
00019 
00020 
00035 // INTERFACE: Automaton sub_normalize(const Automaton& a1) { return vcsn::sub_normalize(*a1); }
00036 // INTERFACE: void sub_normalize_here(Automaton& a1) { return vcsn::sub_normalize_here(*a1); }
00037 // INTERFACE: bool is_sub_normalized(const Automaton& a1) { return vcsn::is_sub_normalized(*a1); }
00038 
00039 # include <vaucanson/algebra/concept/freemonoid_product.hh>
00040 # include <vaucanson/automata/concept/copy.hh>
00041 # include <vaucanson/algorithms/cut_up.hh>
00042 # include <vector>
00043 
00044 namespace vcsn
00045 {
00046 
00056   template <class S, class T>
00057   Element<S, T>
00058   sub_normalize(const Element<S, T>& a);
00059 
00067   template <class S, class T1, class T2>
00068   void
00069   sub_normalize(const Element<S, T1>& a, Element<S, T2>& res);
00070 
00071 
00077   template <class S, class T>
00078   void
00079   sub_normalize_here(Element<S, T>& a);
00080 
00081 
00089   template <class S, class T>
00090   bool is_sub_normalized(const Element<S, T>& a);
00091 
00094 } // ! vcsn
00095 
00096 # if !defined VCSN_USE_INTERFACE_ONLY && !defined VCSN_USE_LIB
00097 #  include <vaucanson/algorithms/sub_normalize.hxx>
00098 # endif // VCSN_USE_INTERFACE_ONLY
00099 
00100 #endif // ! VCSN_ALGORITHMS_SUB_NORMALIZE_HH