Vaucanson  1.4.1
realtime.hh
Go to the documentation of this file.
1 // realtime.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 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_REALTIME_HH
18 # define VCSN_ALGORITHMS_REALTIME_HH
19 
34 // INTERFACE: bool is_realtime(const Automaton& a) { return vcsn::is_realtime(*a); }
35 // INTERFACE: bool is_realtime(const GenAutomaton& a) { return vcsn::is_realtime(*a); }
36 
37 // See realtime_decl.hh
38 // INTERFACE: Automaton realtime(const Automaton& a) { return vcsn::realtime(*a); }
39 // INTERFACE: GenAutomaton realtime(const GenAutomaton& a) { return vcsn::realtime(*a); }
40 
41 # include <vaucanson/automata/concept/automata_base.hh>
43 namespace vcsn {
44 
72  template<typename A, typename AI>
73  void
74  realtime_here(Element<A, AI>& a, misc::direction_type dir);
75 
87  template<typename A, typename AI>
88  Element<A, AI>
89  realtime(const Element<A, AI>& a, misc::direction_type dir);
90 
93 } // vcsn
94 
95 # if !defined VCSN_USE_INTERFACE_ONLY && !defined VCSN_USE_LIB
96 # include <vaucanson/algorithms/realtime.hxx>
97 # endif // VCSN_USE_INTERFACE_ONLY
98 /*
99  * Include the declaration of realtime().
100  *
101  * Must be included _after_ the .hxx file because it needs the
102  * declarations of do_realtime_here() and do_realtime().
103  */
105 
106 #endif // ! VCSN_ALGORITHMS_REALTIME_HH