- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

# standard.hh

Go to the documentation of this file.

    00001 // standard.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 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_STANDARD_HH
    00018 # define VCSN_ALGORITHMS_STANDARD_HH
    00019
    00038 // INTERFACE: void standardize(Automaton& a) { return vcsn::standardize(*a); }
    00039 // INTERFACE: void standardize(GenAutomaton& a) { return vcsn::standardize(*a); }
    00040
    00041 // INTERFACE: bool is_standard(const Automaton& a) { return vcsn::is_standard(*a); }
    00042 // INTERFACE: bool is_standard(const GenAutomaton& a) { return vcsn::is_standard(*a); }
    00043
    00044 // INTERFACE: void union_of_standard_here(Automaton& a1, const Automaton& a2) { return vcsn::union_of_standard_here(*a1, *a2); }
    00045 // INTERFACE: void union_of_standard_here(GenAutomaton& a1, const GenAutomaton& a2) { return vcsn::union_of_standard_here(*a1, *a2); }
    00046
    00047 // INTERFACE: Automaton union_of_standard(const Automaton& a1, const Automaton& a2) { return vcsn::union_of_standard(*a1, *a2); }
    00048 // INTERFACE: GenAutomaton union_of_standard(const GenAutomaton& a1, const GenAutomaton& a2) { return vcsn::union_of_standard(*a1, *a2); }
    00049
    00050 // INTERFACE: void concat_of_standard_here(Automaton& a1, const Automaton& a2) { return vcsn::concat_of_standard_here(*a1, *a2); }
    00051 // INTERFACE: void concat_of_standard_here(GenAutomaton& a1, const GenAutomaton& a2) { return vcsn::concat_of_standard_here(*a1, *a2); }
    00052
    00053 // INTERFACE: Automaton concat_of_standard(const Automaton& a1, const Automaton& a2) { return vcsn::concat_of_standard(*a1, *a2); }
    00054 // INTERFACE: GenAutomaton concat_of_standard(const GenAutomaton& a1, const GenAutomaton& a2) { return vcsn::concat_of_standard(*a1, *a2); }
    00055
    00056 // INTERFACE: void star_of_standard_here(Automaton& a) { return vcsn::star_of_standard_here(*a); }
    00057 // INTERFACE: void star_of_standard_here(GenAutomaton& a) { return vcsn::star_of_standard_here(*a); }
    00058
    00059 // INTERFACE: Automaton star_of_standard(const Automaton& a) { return vcsn::star_of_standard(*a); }
    00060 // INTERFACE: GenAutomaton star_of_standard(const GenAutomaton& a) { return vcsn::star_of_standard(*a); }
    00061
    00062 # include <vaucanson/design_pattern/design_pattern.hh>
    00063
    00064 namespace vcsn {
    00065
    00075   template<typename A, typename T>
    00076   void
    00077   standardize(Element<A, T>& a);
    00078
    00086   template<typename A, typename T>
    00087   bool
    00088   is_standard(const Element<A, T>& a);
    00089
    00101   template<typename A, typename T, typename U>
    00102   void
    00103   union_of_standard_here(Element<A, T>& lhs,
    00104                          const Element<A, U>& rhs);
    00105
    00117   template<typename A, typename T, typename U>
    00118   Element<A, T>
    00119   union_of_standard(const Element<A, T>& lhs,
    00120                     const Element<A, U>& rhs);
    00121
    00133   template<typename A, typename T, typename U>
    00134   void
    00135   concat_of_standard_here(Element<A, T>& lhs,
    00136                           const Element<A, U>& rhs);
    00137
    00149   template<typename A, typename T, typename U>
    00150   Element<A, T>
    00151   concat_of_standard(const Element<A, T>& lhs,
    00152                      const Element<A, U>& rhs);
    00153
    00164   template<typename A, typename T>
    00165   void
    00166   star_of_standard_here(Element<A, T>& a);
    00167
    00178   template<typename A, typename T>
    00179   Element<A, T>
    00180   star_of_standard(const Element<A, T>& a);
    00181
    00184 } // vcsn
    00185
    00186 # if !defined VCSN_USE_INTERFACE_ONLY && !defined VCSN_USE_LIB
    00187 #  include <vaucanson/algorithms/standard.hxx>
    00188 # endif // VCSN_USE_INTERFACE_ONLY
    00189
    00190 #endif // ! VCSN_ALGORITHMS_STANDARD_HH