Vaucanson  1.4.1
equivalent.hh
Go to the documentation of this file.
1 // equivalent.hh: this file is part of the Vaucanson project.
2 //
3 // Vaucanson, a generic library for finite state machines.
4 //
5 // Copyright (C) 2007, 2008 The Vaucanson Group.
6 //
7 // This program is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU General Public License
9 // as published by the Free Software Foundation; either version 2
10 // of the License, or (at your option) any later version.
11 //
12 // The complete GNU General Public Licence Notice can be found as the
13 // `COPYING' file in the root directory.
14 //
15 // The Vaucanson Group consists of people listed in the `AUTHORS' file.
16 //
17 #ifndef VCSN_ALGORITHMS_EQUIVALENT_HH
18 # define VCSN_ALGORITHMS_EQUIVALENT_HH
19 
30 # include <vaucanson/design_pattern/design_pattern.hh>
31 
32 namespace vcsn
33 {
34 
37 
38 
39  template<typename S, typename A, typename B>
40  bool
41  are_equivalent(const Element<S, A>& a, const Element<S, B>& b);
42 
43 // INTERFACE: bool are_equivalent(const Automaton& a1, const Automaton& a2) { return vcsn::are_equivalent(*a1, *a2); }
44 // INTERFACE: bool are_equivalent(const GenAutomaton& a1, const GenAutomaton& a2) { return vcsn::are_equivalent(*a1, *a2); }
45 
48 } // vcsn
49 
50 # if !defined VCSN_USE_INTERFACE_ONLY && !defined VCSN_USE_LIB
51 # include <vaucanson/algorithms/equivalent.hxx>
52 # endif // VCSN_USE_INTERFACE_ONLY
53 
54 #endif // ! VCSN_ALGORITHMS_EQUIVALENT_HH