17 #ifndef VCSN_MISC_RANDOM_HH
18 # define VCSN_MISC_RANDOM_HH
25 # include <vaucanson/algebra/implementation/letter/range.hh>
99 template <
class IteratorValueType,
class InputIterator,
class OutputIterator>
100 void sample_n (
const IteratorValueType&, InputIterator first, InputIterator end,
101 OutputIterator out,
unsigned n);
117 generate<vcsn::algebra::RationalNumber>
122 # define DECLARE_PAIR_SPECIALIZATION(TYPE1, TYPE2) \
124 std::pair<TYPE1, TYPE2> generate<std::pair<TYPE1, TYPE2> >()
131 # undef DECLARE_PAIR_SPECIALIZATION
136 vcsn::algebra::static_char_interval<'a', 'z'>
140 vcsn::algebra::static_ranged<char, small_alpha_interval_t>
156 # if !defined VCSN_USE_INTERFACE_ONLY || defined VCSN_USE_LIB
157 # include <vaucanson/misc/random.hxx>
158 # endif // VCSN_USE_INTERFACE_ONLY
161 #endif // ! VCSN_MISC_RANDOM_HH