Vaucanson
1.4.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
vaucanson
algorithms
shuffle.hh
Go to the documentation of this file.
1
// shuffle.hh: this file is part of the Vaucanson project.
2
//
3
// Vaucanson, a generic library for finite state machines.
4
//
5
// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2008, 2011 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_SHUFFLE_HH
18
# define VCSN_ALGORITHMS_SHUFFLE_HH
19
29
// INTERFACE: Automaton shuffle(const Automaton& a1, const Automaton& a2, const bool use_geometry) { return vcsn::shuffle(*a1, *a2); }
30
31
# include <vaucanson/design_pattern/design_pattern.hh>
32
# include <vaucanson/automata/concept/handlers.hh>
33
34
# include <utility>
35
# include <map>
36
37
namespace
vcsn
38
{
39
42
43
44
45
46
47
48
template
<
typename
A,
typename
T,
typename
U>
49
Element<A, T>
50
shuffle(
const
Element<A, T>& lhs,
const
Element<A, U>& rhs,
51
const
bool
use_geometry =
false
);
52
53
template
<
typename
A,
typename
T,
typename
U>
54
Element<A, T>
55
shuffle(
const
Element<A, T>& lhs,
56
const
Element<A, U>& rhs,
57
std::map<
typename
T::hstate_t,
58
std::pair<typename T::hstate_t, typename U::hstate_t> >&,
59
const
bool
use_geometry =
false
);
64
}
// vcsn
65
66
# if !defined VCSN_USE_INTERFACE_ONLY && !defined VCSN_USE_LIB
67
# include <vaucanson/algorithms/shuffle.hxx>
68
# endif // VCSN_USE_INTERFACE_ONLY
69
70
#endif // ! VCSN_ALGORITHMS_PRODUCT_HH
Generated on Sat Jul 14 2012 18:46:40 for Vaucanson by
1.8.1.1