Vcsn
2.2
Be Rational
|
#include <star-height.hh>
Public Types | |
using | expressionset_t = ExpSet |
using | super_t = typename expressionset_t::const_visitor |
using | node_t = typename super_t::node_t |
Public Member Functions | |
unsigned | operator() (const node_t &v) |
Entry point: return the size of v. More... | |
unsigned | operator() (const std::shared_ptr< const node_t > &v) |
Entry point: return the size of v. More... | |
Static Public Member Functions | |
static constexpr const char * | me () |
Name of this algorithm, for error messages. More... | |
Private Types | |
template<rat::type_t Type> | |
using | unary_t = typename super_t::template unary_t< Type > |
template<rat::type_t Type> | |
using | variadic_t = typename super_t::template variadic_t< Type > |
using | tuple_t = typename super_t::tuple_t |
Private Member Functions | |
VCSN_RAT_VISIT (atom,) | |
VCSN_RAT_VISIT (complement, v) | |
VCSN_RAT_VISIT (conjunction, v) | |
VCSN_RAT_VISIT (infiltration, v) | |
VCSN_RAT_VISIT (ldiv, v) | |
VCSN_RAT_VISIT (lweight, v) | |
VCSN_RAT_VISIT (one,) | |
VCSN_RAT_VISIT (prod, v) | |
VCSN_RAT_VISIT (rweight, v) | |
VCSN_RAT_VISIT (shuffle, v) | |
VCSN_RAT_VISIT (star, v) | |
VCSN_RAT_VISIT (sum, v) | |
VCSN_RAT_VISIT (transposition, v) | |
VCSN_RAT_VISIT (zero,) | |
template<rat::exp::type_t Type> | |
void | visit_ (const unary_t< Type > &v) |
Traverse unary node. More... | |
template<rat::type_t Type> | |
void | visit_ (const variadic_t< Type > &n) |
Traverse variadic node. More... | |
virtual void | visit (const tuple_t &, std::true_type) override |
Private Attributes | |
unsigned | height_ |
The current star height. More... | |
Definition at line 10 of file star-height.hh.
using vcsn::detail::star_heighter< ExpSet >::expressionset_t = ExpSet |
Definition at line 14 of file star-height.hh.
using vcsn::detail::star_heighter< ExpSet >::node_t = typename super_t::node_t |
Definition at line 16 of file star-height.hh.
using vcsn::detail::star_heighter< ExpSet >::super_t = typename expressionset_t::const_visitor |
Definition at line 15 of file star-height.hh.
|
private |
Definition at line 84 of file star-height.hh.
|
private |
Definition at line 55 of file star-height.hh.
|
private |
Definition at line 65 of file star-height.hh.
|
inlinestatic |
Name of this algorithm, for error messages.
Definition at line 19 of file star-height.hh.
Referenced by vcsn::detail::star_heighter< ExpSet >::visit().
|
inline |
Entry point: return the size of v.
Definition at line 23 of file star-height.hh.
References vcsn::detail::star_heighter< ExpSet >::height_.
Referenced by vcsn::detail::star_heighter< ExpSet >::operator()().
|
inline |
Entry point: return the size of v.
Definition at line 32 of file star-height.hh.
References vcsn::detail::star_heighter< ExpSet >::operator()().
|
inlineprivate |
Definition at line 39 of file star-height.hh.
|
inlineprivate |
Definition at line 40 of file star-height.hh.
References vcsn::detail::v, and vcsn::detail::star_heighter< ExpSet >::visit_().
|
inlineprivate |
Definition at line 41 of file star-height.hh.
References vcsn::detail::v, and vcsn::detail::star_heighter< ExpSet >::visit_().
|
inlineprivate |
Definition at line 42 of file star-height.hh.
References vcsn::detail::v, and vcsn::detail::star_heighter< ExpSet >::visit_().
|
inlineprivate |
Definition at line 43 of file star-height.hh.
References vcsn::detail::v, and vcsn::detail::star_heighter< ExpSet >::visit_().
|
inlineprivate |
Definition at line 44 of file star-height.hh.
References vcsn::detail::v.
|
inlineprivate |
Definition at line 45 of file star-height.hh.
|
inlineprivate |
Definition at line 46 of file star-height.hh.
References vcsn::detail::v, and vcsn::detail::star_heighter< ExpSet >::visit_().
|
inlineprivate |
Definition at line 47 of file star-height.hh.
References vcsn::detail::v.
|
inlineprivate |
Definition at line 48 of file star-height.hh.
References vcsn::detail::v, and vcsn::detail::star_heighter< ExpSet >::visit_().
|
inlineprivate |
Definition at line 49 of file star-height.hh.
References vcsn::detail::star_heighter< ExpSet >::height_, vcsn::detail::v, and vcsn::detail::star_heighter< ExpSet >::visit_().
|
inlineprivate |
Definition at line 50 of file star-height.hh.
References vcsn::detail::v, and vcsn::detail::star_heighter< ExpSet >::visit_().
|
inlineprivate |
Definition at line 51 of file star-height.hh.
References vcsn::detail::v, and vcsn::detail::star_heighter< ExpSet >::visit_().
|
inlineprivate |
Definition at line 52 of file star-height.hh.
|
inlineoverrideprivatevirtual |
Definition at line 85 of file star-height.hh.
References vcsn::detail::star_heighter< ExpSet >::me().
|
inlineprivate |
Traverse unary node.
Definition at line 59 of file star-height.hh.
Referenced by vcsn::detail::star_heighter< ExpSet >::VCSN_RAT_VISIT().
|
inlineprivate |
Traverse variadic node.
Definition at line 69 of file star-height.hh.
References vcsn::detail::star_heighter< ExpSet >::height_.
|
private |
The current star height.
Definition at line 91 of file star-height.hh.
Referenced by vcsn::detail::star_heighter< ExpSet >::operator()(), vcsn::detail::star_heighter< ExpSet >::VCSN_RAT_VISIT(), and vcsn::detail::star_heighter< ExpSet >::visit_().