Vcsn
2.0
Be Rational
|
#include <size.hh>
Public Types | |
using | ratexpset_t = RatExpSet |
using | context_t = context_t_of< ratexpset_t > |
using | weight_t = typename context_t::weightset_t::value_t |
using | super_t = typename ratexpset_t::const_visitor |
using | node_t = typename super_t::node_t |
using | inner_t = typename super_t::inner_t |
template<type_t Type> | |
using | unary_t = typename super_t::template unary_t< Type > |
template<type_t Type> | |
using | variadic_t = typename super_t::template variadic_t< Type > |
using | leaf_t = typename super_t::leaf_t |
Public Member Functions | |
size_t | operator() (const node_t &v) |
Entry point: return the size of v. More... | |
size_t | operator() (const std::shared_ptr< const node_t > &v) |
Entry point: return the size of v. More... | |
Private Types | |
using | atom_t = typename super_t::atom_t |
using | complement_t = typename super_t::complement_t |
using | conjunction_t = typename super_t::conjunction_t |
using | ldiv_t = typename super_t::ldiv_t |
using | lweight_t = typename super_t::lweight_t |
using | one_t = typename super_t::one_t |
using | prod_t = typename super_t::prod_t |
using | rweight_t = typename super_t::rweight_t |
using | shuffle_t = typename super_t::shuffle_t |
using | star_t = typename super_t::star_t |
using | sum_t = typename super_t::sum_t |
using | transposition_t = typename super_t::transposition_t |
using | zero_t = typename super_t::zero_t |
Private Member Functions | |
virtual void | visit (const atom_t &v) |
virtual void | visit (const complement_t &v) |
virtual void | visit (const conjunction_t &v) |
virtual void | visit (const ldiv_t &v) |
virtual void | visit (const lweight_t &v) |
virtual void | visit (const one_t &v) |
virtual void | visit (const prod_t &v) |
virtual void | visit (const rweight_t &v) |
virtual void | visit (const shuffle_t &v) |
virtual void | visit (const star_t &v) |
virtual void | visit (const sum_t &v) |
virtual void | visit (const transposition_t &v) |
virtual void | visit (const zero_t &v) |
template<rat::exp::type_t Type> | |
void | visit_unary (const unary_t< Type > &n) |
Traverse unary node. More... | |
template<rat::exp::type_t Type> | |
void | visit_variadic (const variadic_t< Type > &n) |
Traverse variadic node. More... | |
Private Attributes | |
size_t | size_ |
|
private |
|
private |
|
private |
using vcsn::rat::size< RatExpSet >::context_t = context_t_of<ratexpset_t> |
using vcsn::rat::size< RatExpSet >::inner_t = typename super_t::inner_t |
|
private |
using vcsn::rat::size< RatExpSet >::leaf_t = typename super_t::leaf_t |
|
private |
using vcsn::rat::size< RatExpSet >::node_t = typename super_t::node_t |
|
private |
|
private |
using vcsn::rat::size< RatExpSet >::ratexpset_t = RatExpSet |
|
private |
|
private |
|
private |
|
private |
using vcsn::rat::size< RatExpSet >::super_t = typename ratexpset_t::const_visitor |
|
private |
using vcsn::rat::size< RatExpSet >::unary_t = typename super_t::template unary_t<Type> |
using vcsn::rat::size< RatExpSet >::variadic_t = typename super_t::template variadic_t<Type> |
using vcsn::rat::size< RatExpSet >::weight_t = typename context_t::weightset_t::value_t |
|
private |
|
inline |
Entry point: return the size of v.
Definition at line 31 of file size.hh.
References vcsn::rat::size< RatExpSet >::size_.
Referenced by vcsn::rat::size< RatExpSet >::operator()().
|
inline |
Entry point: return the size of v.
Definition at line 40 of file size.hh.
References vcsn::rat::size< RatExpSet >::operator()().
|
inlineprivatevirtual |
|
inlineprivatevirtual |
Definition at line 52 of file size.hh.
References vcsn::rat::size< RatExpSet >::visit_unary().
|
inlineprivatevirtual |
Definition at line 53 of file size.hh.
References vcsn::rat::size< RatExpSet >::visit_variadic().
|
inlineprivatevirtual |
Definition at line 54 of file size.hh.
References vcsn::rat::size< RatExpSet >::visit_variadic().
|
inlineprivatevirtual |
|
inlineprivatevirtual |
|
inlineprivatevirtual |
Definition at line 57 of file size.hh.
References vcsn::rat::size< RatExpSet >::visit_variadic().
|
inlineprivatevirtual |
|
inlineprivatevirtual |
Definition at line 59 of file size.hh.
References vcsn::rat::size< RatExpSet >::visit_variadic().
|
inlineprivatevirtual |
Definition at line 60 of file size.hh.
References vcsn::rat::size< RatExpSet >::visit_unary().
|
inlineprivatevirtual |
Definition at line 61 of file size.hh.
References vcsn::rat::size< RatExpSet >::visit_variadic().
|
inlineprivatevirtual |
Definition at line 62 of file size.hh.
References vcsn::rat::size< RatExpSet >::visit_unary().
|
inlineprivatevirtual |
|
inlineprivate |
Traverse unary node.
Definition at line 54 of file size.hxx.
Referenced by vcsn::rat::size< RatExpSet >::visit().
|
inlineprivate |
Traverse variadic node.
Definition at line 64 of file size.hxx.
Referenced by vcsn::rat::size< RatExpSet >::visit().
|
private |
Definition at line 75 of file size.hh.
Referenced by vcsn::rat::size< RatExpSet >::operator()().