00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 #ifndef VCSN_ALGORITHMS_SUB_AUTOMATON_HH
00018 # define VCSN_ALGORITHMS_SUB_AUTOMATON_HH
00019 
00033 
00034 
00035 
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 } 
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