Vcsn
2.0
Be Rational
|
#include <constant-term.hh>
Public Types | |
using | ratexpset_t = RatExpSet |
using | context_t = context_t_of< ratexpset_t > |
using | ratexp_t = typename ratexpset_t::value_t |
using | weight_t = weight_t_of< ratexpset_t > |
using | weightset_t = weightset_t_of< ratexpset_t > |
using | super_t = typename ratexpset_t::const_visitor |
Public Member Functions | |
constant_term_visitor (const ratexpset_t &rs) | |
weight_t | operator() (const ratexp_t &v) |
weight_t | constant_term (const ratexp_t &v) |
Easy recursion. More... | |
VCSN_RAT_VISIT (zero,) | |
VCSN_RAT_VISIT (one,) | |
VCSN_RAT_VISIT (atom,) | |
VCSN_RAT_VISIT (sum, v) | |
VCSN_RAT_VISIT (prod, v) | |
VCSN_RAT_VISIT (conjunction, v) | |
VCSN_RAT_VISIT (shuffle, v) | |
VCSN_RAT_VISIT (star, v) | |
VCSN_RAT_VISIT (lweight, v) | |
VCSN_RAT_VISIT (rweight, v) | |
VCSN_RAT_VISIT (complement, v) | |
Static Public Member Functions | |
static constexpr const char * | me () |
Private Attributes | |
weightset_t | ws_ |
weight_t | res_ |
RatExpSet | the ratexp set type. |
Definition at line 24 of file constant-term.hh.
using vcsn::rat::constant_term_visitor< RatExpSet >::context_t = context_t_of<ratexpset_t> |
Definition at line 29 of file constant-term.hh.
using vcsn::rat::constant_term_visitor< RatExpSet >::ratexp_t = typename ratexpset_t::value_t |
Definition at line 30 of file constant-term.hh.
using vcsn::rat::constant_term_visitor< RatExpSet >::ratexpset_t = RatExpSet |
Definition at line 28 of file constant-term.hh.
using vcsn::rat::constant_term_visitor< RatExpSet >::super_t = typename ratexpset_t::const_visitor |
Definition at line 34 of file constant-term.hh.
using vcsn::rat::constant_term_visitor< RatExpSet >::weight_t = weight_t_of<ratexpset_t> |
Definition at line 31 of file constant-term.hh.
using vcsn::rat::constant_term_visitor< RatExpSet >::weightset_t = weightset_t_of<ratexpset_t> |
Definition at line 32 of file constant-term.hh.
|
inline |
Definition at line 38 of file constant-term.hh.
|
inline |
Easy recursion.
Definition at line 50 of file constant-term.hh.
References vcsn::rat::constant_term_visitor< RatExpSet >::res_.
Referenced by vcsn::rat::constant_term_visitor< RatExpSet >::VCSN_RAT_VISIT().
|
inlinestatic |
Definition at line 36 of file constant-term.hh.
|
inline |
Definition at line 43 of file constant-term.hh.
References vcsn::rat::constant_term_visitor< RatExpSet >::res_.
|
inline |
Definition at line 56 of file constant-term.hh.
References vcsn::rat::constant_term_visitor< RatExpSet >::res_, and vcsn::rat::constant_term_visitor< RatExpSet >::ws_.
|
inline |
Definition at line 61 of file constant-term.hh.
References vcsn::rat::constant_term_visitor< RatExpSet >::res_, and vcsn::rat::constant_term_visitor< RatExpSet >::ws_.
|
inline |
Definition at line 66 of file constant-term.hh.
References vcsn::rat::constant_term_visitor< RatExpSet >::res_, and vcsn::rat::constant_term_visitor< RatExpSet >::ws_.
|
inline |
Definition at line 71 of file constant-term.hh.
References vcsn::rat::constant_term_visitor< RatExpSet >::constant_term(), vcsn::rat::constant_term_visitor< RatExpSet >::res_, and vcsn::rat::constant_term_visitor< RatExpSet >::ws_.
|
inline |
Definition at line 79 of file constant-term.hh.
References vcsn::rat::constant_term_visitor< RatExpSet >::constant_term(), vcsn::rat::constant_term_visitor< RatExpSet >::res_, and vcsn::rat::constant_term_visitor< RatExpSet >::ws_.
|
inline |
Definition at line 90 of file constant-term.hh.
References vcsn::rat::constant_term_visitor< RatExpSet >::constant_term(), vcsn::rat::constant_term_visitor< RatExpSet >::res_, and vcsn::rat::constant_term_visitor< RatExpSet >::ws_.
|
inline |
Definition at line 99 of file constant-term.hh.
References vcsn::rat::constant_term_visitor< RatExpSet >::constant_term(), vcsn::rat::constant_term_visitor< RatExpSet >::res_, and vcsn::rat::constant_term_visitor< RatExpSet >::ws_.
|
inline |
Definition at line 108 of file constant-term.hh.
References vcsn::rat::constant_term_visitor< RatExpSet >::constant_term(), vcsn::rat::constant_term_visitor< RatExpSet >::res_, and vcsn::rat::constant_term_visitor< RatExpSet >::ws_.
|
inline |
Definition at line 113 of file constant-term.hh.
References vcsn::rat::constant_term_visitor< RatExpSet >::constant_term(), vcsn::rat::constant_term_visitor< RatExpSet >::res_, and vcsn::rat::constant_term_visitor< RatExpSet >::ws_.
|
inline |
Definition at line 119 of file constant-term.hh.
References vcsn::rat::constant_term_visitor< RatExpSet >::constant_term(), vcsn::rat::constant_term_visitor< RatExpSet >::res_, and vcsn::rat::constant_term_visitor< RatExpSet >::ws_.
|
inline |
Definition at line 125 of file constant-term.hh.
References vcsn::rat::constant_term_visitor< RatExpSet >::constant_term(), vcsn::rat::constant_term_visitor< RatExpSet >::res_, and vcsn::rat::constant_term_visitor< RatExpSet >::ws_.
|
private |
Definition at line 136 of file constant-term.hh.
Referenced by vcsn::rat::constant_term_visitor< RatExpSet >::constant_term(), vcsn::rat::constant_term_visitor< RatExpSet >::operator()(), and vcsn::rat::constant_term_visitor< RatExpSet >::VCSN_RAT_VISIT().
|
private |
Definition at line 135 of file constant-term.hh.
Referenced by vcsn::rat::constant_term_visitor< RatExpSet >::VCSN_RAT_VISIT().