17 #ifndef AWALI_CORE_RAT_INFO_HXX
18 # define AWALI_CORE_RAT_INFO_HXX
20 namespace awali {
namespace sttc
26 template <typename RatExpSet> \
50 # define VISIT(Type) \
51 DEFINE::visit(const Type ## _t& v) \
57 for (
const auto& c: v)
64 for (
const auto& c: v)
71 for (
const auto& c: v)
78 for (
const auto& c: v)
86 for (
const auto& c: v)
93 v.sub()->accept(*
this);
99 v.sub()->accept(*
this);
105 v.sub()->accept(*
this);
129 v.sub()->accept(*
this);
135 v.sub()->accept(*
this);
Definition: ratexp.hh:280
Definition: ratexp.hh:262
virtual void accept(typename node_t::const_visitor &v) const override
Definition: ratexp.hxx:208
typename ratexpset_t::node_t node_t
Definition: info.hh:34
Definition: ratexp.hh:176
An inner node with multiple children.
Definition: ratexp.hh:115
An inner node implementing a weight.
Definition: ratexp.hh:208
#define VISIT(Type)
Definition: info.hxx:50
variadic< type_t::sum, Label, Weight > sum
Definition: fwd.hh:154
weight_node< type_t::lweight, Label, Weight > lweight
Definition: fwd.hh:164
unary< type_t::star, Label, Weight > star
Definition: fwd.hh:129
constant< type_t::zero, Label, Weight > zero
Definition: fwd.hh:113
variadic< type_t::ldiv, Label, Weight > ldiv
Definition: fwd.hh:148
variadic< type_t::conjunction, Label, Weight > conjunction
Definition: fwd.hh:145
variadic< type_t::shuffle, Label, Weight > shuffle
Definition: fwd.hh:151
weight_node< type_t::rweight, Label, Weight > rweight
Definition: fwd.hh:167
unary< type_t::transposition, Label, Weight > transposition
Definition: fwd.hh:132
constant< type_t::one, Label, Weight > one
Definition: fwd.hh:116
unary< type_t::complement, Label, Weight > complement
Definition: fwd.hh:126
variadic< type_t::prod, Label, Weight > prod
Definition: fwd.hh:142
Main namespace of Awali.
Definition: ato.hh:22