Awali
Another Weighted Automata library
|
Convert a ratexp to a standard automaton. More...
#include <standard.hh>
Public Types | |
using | automaton_t = Aut |
using | context_t = Context |
using | states_t = std::set< state_t > |
The current set of final states. More... | |
using | super_type = typename Context::const_visitor |
using | weight_t = weight_t_of< context_t > |
using | weightset_t = weightset_t_of< context_t > |
Public Member Functions | |
standard_visitor (const context_t &ctx) | |
AWALI_RAT_VISIT (atom, e) | |
AWALI_RAT_VISIT (lweight, e) | |
AWALI_RAT_VISIT (one,) | |
AWALI_RAT_VISIT (prod, e) | |
AWALI_RAT_VISIT (rweight, e) | |
AWALI_RAT_VISIT (star, e) | |
AWALI_RAT_VISIT (sum, e) | |
AWALI_RAT_VISIT (zero,) | |
states_t | finals () |
automaton_t | operator() (const typename context_t::ratexp_t &v) |
Static Public Member Functions | |
constexpr static const char * | me () |
Convert a ratexp to a standard automaton.
Aut | relative the generated automaton |
Context | relative to the RatExp. |
using awali::sttc::rat::standard_visitor< Aut, Context >::automaton_t = Aut |
using awali::sttc::rat::standard_visitor< Aut, Context >::context_t = Context |
using awali::sttc::rat::standard_visitor< Aut, Context >::states_t = std::set<state_t> |
The current set of final states.
using awali::sttc::rat::standard_visitor< Aut, Context >::super_type = typename Context::const_visitor |
using awali::sttc::rat::standard_visitor< Aut, Context >::weight_t = weight_t_of<context_t> |
using awali::sttc::rat::standard_visitor< Aut, Context >::weightset_t = weightset_t_of<context_t> |
awali::sttc::rat::standard_visitor< Aut, Context >::standard_visitor | ( | const context_t & | ctx | ) |
awali::sttc::rat::standard_visitor< Aut, Context >::AWALI_RAT_VISIT | ( | atom | , |
e | |||
) |
awali::sttc::rat::standard_visitor< Aut, Context >::AWALI_RAT_VISIT | ( | lweight | , |
e | |||
) |
awali::sttc::rat::standard_visitor< Aut, Context >::AWALI_RAT_VISIT | ( | one | ) |
awali::sttc::rat::standard_visitor< Aut, Context >::AWALI_RAT_VISIT | ( | prod | , |
e | |||
) |
awali::sttc::rat::standard_visitor< Aut, Context >::AWALI_RAT_VISIT | ( | rweight | , |
e | |||
) |
awali::sttc::rat::standard_visitor< Aut, Context >::AWALI_RAT_VISIT | ( | star | , |
e | |||
) |
awali::sttc::rat::standard_visitor< Aut, Context >::AWALI_RAT_VISIT | ( | sum | , |
e | |||
) |
awali::sttc::rat::standard_visitor< Aut, Context >::AWALI_RAT_VISIT | ( | zero | ) |
states_t awali::sttc::rat::standard_visitor< Aut, Context >::finals | ( | ) |
|
staticconstexpr |
automaton_t awali::sttc::rat::standard_visitor< Aut, Context >::operator() | ( | const typename context_t::ratexp_t & | v | ) |