Awali
Another Weighted Automata library
|
#include <star_normal_form.hh>
Public Types | |
using | context_t = context_t_of< ratexpset_t > |
enum | operation_t { dot , box } |
The type of the operator. More... | |
using | ratexp_t = typename ratexpset_t::value_t |
using | ratexpset_t = RatExpSet |
using | super_type = typename RatExpSet::const_visitor |
using | weight_t = typename weightset_t::value_t |
using | weightset_t = weightset_t_of< context_t > |
Public Member Functions | |
star_normal_form_visitor (const ratexpset_t &rs) | |
AWALI_RAT_VISIT (atom, v) | |
AWALI_RAT_VISIT (lweight, v) | |
AWALI_RAT_VISIT (one,) | |
AWALI_RAT_VISIT (prod, v) | |
AWALI_RAT_VISIT (rweight, v) | |
AWALI_RAT_VISIT (star, v) | |
AWALI_RAT_VISIT (sum, v) | |
AWALI_RAT_VISIT (zero,) | |
void | box_of (const prod_t &v) |
Handling of a product by the box operator. More... | |
void | dot_of (const prod_t &v) |
Handling of a product by the dot operator. More... | |
ratexp_t | operator() (const ratexp_t &v) |
Static Public Member Functions | |
constexpr static const char * | me () |
RatExpSet | relative to the RatExp. |
Implementation based on the dot/box operators as defined in "On the Number of Broken Derived Terms of a Rational Expression", Pierre-Yves Angrand, Sylvain Lombardy, Jacques Sakarovitch.
using awali::sttc::rat::star_normal_form_visitor< RatExpSet >::context_t = context_t_of<ratexpset_t> |
using awali::sttc::rat::star_normal_form_visitor< RatExpSet >::ratexp_t = typename ratexpset_t::value_t |
using awali::sttc::rat::star_normal_form_visitor< RatExpSet >::ratexpset_t = RatExpSet |
using awali::sttc::rat::star_normal_form_visitor< RatExpSet >::super_type = typename RatExpSet::const_visitor |
using awali::sttc::rat::star_normal_form_visitor< RatExpSet >::weight_t = typename weightset_t::value_t |
using awali::sttc::rat::star_normal_form_visitor< RatExpSet >::weightset_t = weightset_t_of<context_t> |
enum awali::sttc::rat::star_normal_form_visitor::operation_t |
awali::sttc::rat::star_normal_form_visitor< RatExpSet >::star_normal_form_visitor | ( | const ratexpset_t & | rs | ) |
awali::sttc::rat::star_normal_form_visitor< RatExpSet >::AWALI_RAT_VISIT | ( | atom | , |
v | |||
) |
awali::sttc::rat::star_normal_form_visitor< RatExpSet >::AWALI_RAT_VISIT | ( | lweight | , |
v | |||
) |
awali::sttc::rat::star_normal_form_visitor< RatExpSet >::AWALI_RAT_VISIT | ( | one | ) |
awali::sttc::rat::star_normal_form_visitor< RatExpSet >::AWALI_RAT_VISIT | ( | prod | , |
v | |||
) |
awali::sttc::rat::star_normal_form_visitor< RatExpSet >::AWALI_RAT_VISIT | ( | rweight | , |
v | |||
) |
awali::sttc::rat::star_normal_form_visitor< RatExpSet >::AWALI_RAT_VISIT | ( | star | , |
v | |||
) |
awali::sttc::rat::star_normal_form_visitor< RatExpSet >::AWALI_RAT_VISIT | ( | sum | , |
v | |||
) |
awali::sttc::rat::star_normal_form_visitor< RatExpSet >::AWALI_RAT_VISIT | ( | zero | ) |
void awali::sttc::rat::star_normal_form_visitor< RatExpSet >::box_of | ( | const prod_t & | v | ) |
Handling of a product by the box operator.
void awali::sttc::rat::star_normal_form_visitor< RatExpSet >::dot_of | ( | const prod_t & | v | ) |
Handling of a product by the dot operator.
|
staticconstexpr |
ratexp_t awali::sttc::rat::star_normal_form_visitor< RatExpSet >::operator() | ( | const ratexp_t & | v | ) |