closure.hh

Go to the documentation of this file.
00001 // closure.hh: this file is part of the Vaucanson project.
00002 //
00003 // Vaucanson, a generic library for finite state machines.
00004 //
00005 // Copyright (C) 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_CLOSURE_HH
00018 # define VCSN_ALGORITHMS_CLOSURE_HH
00019 
00032 // INTERFACE: void forward_closure_here(Automaton& a) { return vcsn::forward_closure_here(*a); }
00033 // INTERFACE: void forward_closure_here(GenAutomaton& a) { return vcsn::forward_closure_here(*a); }
00034 
00035 // INTERFACE: Automaton forward_closure(const Automaton& a) { return vcsn::forward_closure(*a); }
00036 // INTERFACE: GenAutomaton forward_closure(const GenAutomaton& a) { return vcsn::forward_closure(*a); }
00037 
00038 // INTERFACE: void backward_closure_here(Automaton& a) { return vcsn::backward_closure_here(*a); }
00039 // INTERFACE: void backward_closure_here(GenAutomaton& a) { return vcsn::backward_closure_here(*a); }
00040 
00041 // INTERFACE: Automaton backward_closure(const Automaton& a) { return vcsn::backward_closure(*a); }
00042 // INTERFACE: GenAutomaton backward_closure(const GenAutomaton& a) { return vcsn::backward_closure(*a); }
00043 
00044 // INTERFACE: void closure_here(Automaton& a) { return vcsn::closure_here(*a); }
00045 // INTERFACE: void closure_here(GenAutomaton& a) { return vcsn::closure_here(*a); }
00046 
00047 // INTERFACE: Automaton closure(const Automaton& a) { return vcsn::closure(*a); }
00048 // INTERFACE: GenAutomaton closure(const GenAutomaton& a) { return vcsn::closure(*a); }
00049 
00050 # include <vaucanson/design_pattern/design_pattern.hh>
00051 
00052 namespace vcsn {
00053 
00072   template<typename A, typename T>
00073   void
00074   closure_here(Element<A, T>& a, bool bck = true);
00075 
00076 
00093   template<typename A, typename T>
00094   Element<A, T>
00095   closure(const Element<A, T>& a, bool bck = true);
00096 
00097 
00112   template<typename A, typename T>
00113   void
00114   backward_closure_here(Element<A, T>& a);
00115 
00116 
00131   template<typename A, typename T>
00132   Element<A, T>
00133   backward_closure(const Element<A, T>& a);
00134 
00135 
00150   template<typename A, typename T>
00151   void
00152   forward_closure_here(Element<A, T>& a);
00153 
00154 
00169   template<typename A, typename T>
00170   Element<A, T>
00171   forward_closure(const Element<A, T>& a);
00172 
00173 } // vcsn
00174 
00175 
00176 # ifndef VCSN_USE_INTERFACE_ONLY
00177 #  include <vaucanson/algorithms/closure.hxx>
00178 # endif // VCSN_USE_INTERFACE_ONLY
00179 
00180 #endif // ! VCSN_ALGORITHMS_CLOSURE_HH

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