- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

# domain.hh

Go to the documentation of this file.

    00001 // domain.hh: this file is part of the Vaucanson project.
    00002 //
    00003 // Vaucanson, a generic library for finite state machines.
    00004 //
    00005 // Copyright (C) 2006, 2008 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_DOMAIN_HH
    00018 # define VCSN_ALGORITHMS_DOMAIN_HH
    00019
    00030 // INTERFACE: void domain(const Automaton& a1, InputProjection& a2) { return vcsn::domain(*a1, *a2); }
    00031
    00032 # include <vaucanson/automata/concept/automata.hh>
    00033 # include <vaucanson/algebra/concept/freemonoid_product.hh>
    00034
    00035 # include <vaucanson/algebra/implementation/monoid/free_monoid.hh>
    00036 # include <vaucanson/algebra/implementation/series/series.hh>
    00037
    00038
    00039 #include <vaucanson/automata/concept/transducer.hh>
    00040
    00041
    00042 namespace vcsn
    00043 {
    00044   /*-------.
    00045   | Domain |
    00046   `-------*/
    00047
    00048
    00049   template <typename S, typename S2, typename T, typename T2>
    00050   void
    00051   domain(const Element<S,T>& src, Element<S2, T2>& dst);
    00052
    00053   // FMP version of domain.
    00054   template <typename src_t, typename dst_t>
    00055   void
    00056   do_fmp_domain(const src_t& src, dst_t& dst);
    00057
    00058   // RW version of domain.
    00059   template <typename src_t, typename dst_t>
    00060   void
    00061   do_rw_domain(const src_t& src, dst_t& dst);
    00062
    00063 } // End of namespace vcsn.
    00064
    00065
    00066 # if !defined VCSN_USE_INTERFACE_ONLY && !defined VCSN_USE_LIB
    00067 #  include <vaucanson/algorithms/domain.hxx>
    00068 # endif // VCSN_USE_INTERFACE_ONLY
    00069
    00070
    00071 #endif // ! VCSN_ALGORITHMS_DOMAIN_HH