Vaucanson
1.4.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
vaucanson
algorithms
thompson.hh
Go to the documentation of this file.
1
// thompson.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, 2008, 2009 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_THOMPSON_HH
18
# define VCSN_ALGORITHMS_THOMPSON_HH
19
33
// INTERFACE: void thompson_of(Automaton& a, const ExpImpl& e) { vcsn::thompson_of(*a, e.value()); }
34
35
# include <vaucanson/algebra/implementation/series/rat/exp.hh>
36
# include <vaucanson/automata/concept/automata.hh>
37
38
namespace
vcsn {
39
51
template
<
typename
A,
typename
T,
52
typename
Letter,
typename
Weight>
53
void
54
thompson_of
(Element<A, T>& out,
const
rat::exp<Letter, Weight>& kexp);
55
65
template
<
typename
AutoType,
typename
S,
typename
K,
class
T>
66
Element<Automata<S, K>, AutoType>
67
thompson_of
(
const
Element<S, T>& exp);
68
71
}
// vcsn
72
73
# if !defined VCSN_USE_INTERFACE_ONLY && !defined VCSN_USE_LIB
74
# include <vaucanson/algorithms/thompson.hxx>
75
# endif // VCSN_USE_INTERFACE_ONLY
76
77
#endif // ! VCSN_ALGORITHMS_THOMPSON_HH
Generated on Sat Jul 14 2012 18:46:41 for Vaucanson by
1.8.1.1