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 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 = true) { return vcsn::sub_automaton(*a, s, c); }
00034 // INTERFACE: GenAutomaton sub_automaton(const GenAutomaton& a, const HList& s, bool c = true) { return vcsn::sub_automaton(*a, s, c); }
00035 
00036 // INTERFACE: void sub_automaton_here(Automaton& a, const HList& s, bool c = true) { return vcsn::sub_automaton_here(*a, s, c); }
00037 // INTERFACE: void sub_automaton_here(GenAutomaton& a, const HList& s, bool c = true) { return vcsn::sub_automaton_here(*a, s, c); }
00038 
00039 # include <vaucanson/design_pattern/design_pattern.hh>
00040 
00041 namespace vcsn {
00042 
00043 
00057   template<typename A, typename T, typename StatesSet>
00058   Element<A, T>
00059   sub_automaton(const Element<A, T>& a, const StatesSet& s,
00060                 bool check_states = true);
00061 
00072   template<typename A, typename T, typename StatesSet>
00073   void
00074   sub_automaton_here(Element<A, T>& a,
00075                      const StatesSet& s,
00076                      bool check_states = true);
00077 
00080 } // vcsn
00081 
00082 # ifndef VCSN_USE_INTERFACE_ONLY
00083 #  include <vaucanson/algorithms/sub_automaton.hxx>
00084 # endif // VCSN_USE_INTERFACE_ONLY
00085 
00086 #endif // ! VCSN_ALGORITHMS_SUB_AUTOMATON_HH

Generated on Fri Jul 28 12:18:53 2006 for Vaucanson by  doxygen 1.4.6