sub_automaton.hh

Go to the documentation of this file.
00001 // sub_automaton.hh: this file is part of the Vaucanson project.
00002 //
00003 // Vaucanson, a generic library for finite state machines.
00004 //
00005 // Copyright (C) 2001, 2002, 2003, 2004, 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_AUTOMATON_HH
00018 # define VCSN_ALGORITHMS_SUB_AUTOMATON_HH
00019 
00033 // INTERFACE: Automaton sub_automaton(const Automaton& a, const HList& s, bool c) { return vcsn::sub_automaton(*a, s, c); }
00034 
00035 // INTERFACE: void sub_automaton_here(Automaton& a, const HList& s, bool c) { return vcsn::sub_automaton_here(*a, s, c); }
00036 
00037 # include <vaucanson/design_pattern/design_pattern.hh>
00038 
00039 namespace vcsn {
00040 
00041 
00055   template<typename A, typename AI, typename HStatesSet>
00056   Element<A, AI>
00057   sub_automaton(const Element<A, AI>& a, const HStatesSet& s,
00058                 bool check_states =
00059 #if defined VCSN_NDEBUG
00060                                     false
00061 #else
00062                                     true
00063 #endif
00064                 );
00065 
00076   template<typename A, typename AI, typename HStatesSet>
00077   void
00078   sub_automaton_here(Element<A, AI>& a,
00079                      const HStatesSet& s,
00080                      bool check_states =
00081 #if defined VCSN_NDEBUG
00082                                     false
00083 #else
00084                                     true
00085 #endif
00086                      );
00087 
00090 } // vcsn
00091 
00092 # if !defined VCSN_USE_INTERFACE_ONLY && !defined VCSN_USE_LIB
00093 #  include <vaucanson/algorithms/sub_automaton.hxx>
00094 # endif // VCSN_USE_INTERFACE_ONLY
00095 
00096 #endif // ! VCSN_ALGORITHMS_SUB_AUTOMATON_HH

Generated on Thu Oct 9 20:22:41 2008 for Vaucanson by  doxygen 1.5.1