00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 #ifndef VCSN_ALGORITHMS_PRODUCT_HH
00018 # define VCSN_ALGORITHMS_PRODUCT_HH
00019 
00031 
00032 
00033 
00034 # include <vaucanson/design_pattern/design_pattern.hh>
00035 # include <vaucanson/automata/concept/handlers.hh>
00036 
00037 # include <utility>
00038 # include <map>
00039 
00040 namespace vcsn
00041 {
00042 
00045 
00046 
00047 
00048 
00049 
00050 
00051   template<typename A, typename T, typename U>
00052   Element<A, T>
00053   product(const Element<A, T>& lhs, const Element<A, U>& rhs,
00054           const bool use_geometry = false);
00055 
00056   template<typename A, typename T, typename U>
00057   Element<A, T>
00058   product(const Element<A, T>& lhs,
00059           const Element<A, U>& rhs,
00060           std::map<typename T::hstate_t,
00061             std::pair<typename T::hstate_t, typename U::hstate_t> >&,
00062           const bool use_geometry = false);
00067 } 
00068 
00069 # if !defined VCSN_USE_INTERFACE_ONLY && !defined VCSN_USE_LIB
00070 #  include <vaucanson/algorithms/product.hxx>
00071 # endif // VCSN_USE_INTERFACE_ONLY
00072 
00073 #endif // ! VCSN_ALGORITHMS_PRODUCT_HH