#include <memory>
#include <boost/range/algorithm/mismatch.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/optional.hpp>
#include <vcsn/core/kind.hh>
#include <vcsn/labelset/fwd.hh>
#include <vcsn/labelset/genset-labelset.hh>
#include <vcsn/labelset/labelset.hh>
#include <vcsn/labelset/letterset.hh>
#include <vcsn/misc/attributes.hh>
#include <vcsn/misc/functional.hh>
#include <vcsn/misc/irange.hh>
#include <vcsn/misc/raise.hh>
Go to the source code of this file.
|
#define | DEFINE(Lhs, Rhs) |
| Declare that Lhs v Rhs => Rhs (on the union of alphabets). More...
|
|
|
template<typename GenSet > |
wordset< GenSet > | vcsn::meet (const wordset< GenSet > &lhs, const wordset< GenSet > &rhs) |
| Compute the meet with another alphabet. More...
|
|
template<typename GenSet , typename RandomGenerator = std::default_random_engine> |
wordset< GenSet >::value_t | vcsn::random_label (const wordset< GenSet > &ls, RandomGenerator &gen=RandomGenerator()) |
| Random label from wordset. More...
|
|
#define DEFINE |
( |
|
Lhs, |
|
|
|
Rhs |
|
) |
| |
Value:template <typename GenSet> \
struct join_impl<Lhs, Rhs> \
{ \
static type
join(
const Lhs& lhs,
const Rhs& rhs) \
{ \
return {
set_union(*lhs.genset(), *rhs.genset())}; \
} \
}
Container set_union(const Container &s1, const Container &s2)
The union of two sets.
context join(const context &c1, const context &c2)
Bridge.
Declare that Lhs v Rhs => Rhs (on the union of alphabets).
Definition at line 410 of file wordset.hh.