00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef VCSN_ALGEBRA_IMPLEMENTATION_ALPHABETS_ALPHABET_SET_HH
00018 # define VCSN_ALGEBRA_IMPLEMENTATION_ALPHABETS_ALPHABET_SET_HH
00019
00020 # include <vaucanson/algebra/implementation/alphabets/alphabets.hh>
00021
00022 namespace vcsn {
00023
00024 namespace algebra {
00025
00029
00030
00031
00032
00034 template<typename L>
00035 struct alphabet_traits<AlphabetSet<L>, std::set<L> >
00036 {
00038 typedef L letter_t;
00039 };
00040
00044 }
00045
00049
00050
00051
00052
00058 template<typename L>
00059 struct MetaElement<algebra::AlphabetSet<L>, std::set<L> >
00060 : MetaElement<algebra::AlphabetSetBase<algebra::AlphabetSet<L> >, std::set<L> >
00061 {
00063 static const bool dynamic_value = true;
00064 };
00065
00069 namespace algebra {
00070
00071 template <typename L>
00072 size_t op_max_size(const algebra::AlphabetSet<L>&, const std::set<L>&);
00073
00074 template <typename L>
00075 bool op_contains(const algebra::AlphabetSet<L>& s, const std::set<L>& a);
00076
00077 template <typename L>
00078 bool op_is_finite(const algebra::AlphabetSet<L>& s, const std::set<L>& a);
00079
00080 template <typename L>
00081 bool op_contains_e(const algebra::AlphabetSet<L>& s, const std::set<L>& a,
00082 const L& v);
00083 }
00084
00085 }
00086
00087 # if !defined VCSN_USE_INTERFACE_ONLY || defined VCSN_USE_LIB
00088 # include <vaucanson/algebra/implementation/alphabets/alphabet_set.hxx>
00089 # endif // VCSN_USE_INTERFACE_ONLY
00090
00091 #endif // ! VCSN_ALGEBRA_IMPLEMENTATION_ALPHABETS_ALPHABET_SET_HH