forward_realtime.hxx

00001 // forward_realtime.hxx: 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_FORWARD_REALTIME_HXX
00018 # define VCSN_ALGORITHMS_FORWARD_REALTIME_HXX
00019 
00020 # include <vaucanson/algorithms/forward_realtime.hh>
00021 # include <vaucanson/algorithms/realtime.hh>
00022 
00023 namespace vcsn {
00024 
00025   /*------------------------.
00026   | forward_realtime_here.  |
00027   `------------------------*/
00028 
00029   template <class A_, typename Auto_>
00030   void
00031   do_forward_realtime_here(const AutomataBase<A_>&b, Auto_& a)
00032   {
00033     do_realtime_here (b, a, misc::forward);
00034   }
00035 
00036   template<typename A, typename T>
00037   void
00038   forward_realtime_here(Element<A, T>& a)
00039   {
00040     do_forward_realtime_here(a.structure(), a);
00041   }
00042 
00043   /*-------------------.
00044   | forward_realtime.  |
00045   `-------------------*/
00046 
00047   template<typename A_, typename Auto_>
00048   Auto_
00049   do_forward_realtime(const AutomataBase<A_>&b, const Auto_& a)
00050   {
00051     return do_realtime (b, a, misc::forward);
00052   }
00053 
00054 
00055   template<typename A, typename T>
00056   Element<A, T>
00057   forward_realtime(const Element<A, T>& a)
00058   {
00059     return do_forward_realtime(a.structure(), a);
00060   }
00061 
00062 } // vcsn
00063 
00064 #endif // ! VCSN_ALGORITHMS_FORWARD_REALTIME_HXX

Generated on Sun Jul 29 19:35:19 2007 for Vaucanson by  doxygen 1.5.2