Vcsn
2.2
Be Rational
|
Implementation of left- and right- multiplication of an automaton by a weight. More...
#include <left-mult.hh>
Public Types | |
using | automaton_t = Aut |
using | context_t = context_t_of< automaton_t > |
using | weight_t = weight_t_of< context_t > |
using | weightset_t = weightset_t_of< context_t > |
using | state_t = state_t_of< automaton_t > |
Static Public Member Functions | |
static automaton_t & | left_mult_here (const weight_t &w, automaton_t &res, general_tag tag) |
Left-multiplication of any automaton by a weight. More... | |
static automaton_t & | left_mult_here (const weight_t &w, automaton_t &res, standard_tag tag) |
Standard-preserving left-multiplication by a weight. More... | |
static automaton_t & | left_mult_here (const weight_t &w, automaton_t &res, auto_tag={}) |
Same as standard if res is standard, otherwise, general. More... | |
template<typename Tag = general_tag> | |
static automaton_t & | right_mult_here (automaton_t &res, const weight_t &w, Tag tag={}) |
Right-multiplication of any automaton by a weight. More... | |
static automaton_t & | right_mult_here (automaton_t &res, const weight_t &w, auto_tag={}) |
Same as standard if res is standard, otherwise, general. More... | |
static automaton_t & | zero_here (automaton_t &res, general_tag) |
Transform res into the empty automaton. More... | |
static automaton_t & | zero_here (automaton_t &res, standard_tag) |
Transform res into the (standard) empty automaton. More... | |
Implementation of left- and right- multiplication of an automaton by a weight.
Definition at line 22 of file left-mult.hh.
using vcsn::detail::standard_operations< Aut >::automaton_t = Aut |
Definition at line 24 of file left-mult.hh.
using vcsn::detail::standard_operations< Aut >::context_t = context_t_of<automaton_t> |
Definition at line 25 of file left-mult.hh.
using vcsn::detail::standard_operations< Aut >::state_t = state_t_of<automaton_t> |
Definition at line 28 of file left-mult.hh.
using vcsn::detail::standard_operations< Aut >::weight_t = weight_t_of<context_t> |
Definition at line 26 of file left-mult.hh.
using vcsn::detail::standard_operations< Aut >::weightset_t = weightset_t_of<context_t> |
Definition at line 27 of file left-mult.hh.
|
inlinestatic |
Left-multiplication of any automaton by a weight.
Definition at line 32 of file left-mult.hh.
References vcsn::detail::initial_transitions(), and vcsn::detail::standard_operations< Aut >::zero_here().
|
inlinestatic |
Standard-preserving left-multiplication by a weight.
Definition at line 45 of file left-mult.hh.
References vcsn::detail::all_out(), vcsn::detail::front(), vcsn::detail::initial_transitions(), vcsn::is_standard(), vcsn::require(), and vcsn::detail::standard_operations< Aut >::zero_here().
|
inlinestatic |
Same as standard if res is standard, otherwise, general.
Definition at line 62 of file left-mult.hh.
|
inlinestatic |
Right-multiplication of any automaton by a weight.
Definition at line 73 of file left-mult.hh.
|
inlinestatic |
Same as standard if res is standard, otherwise, general.
Definition at line 86 of file left-mult.hh.
|
inlinestatic |
Transform res into the empty automaton.
Definition at line 96 of file left-mult.hh.
References vcsn::make_fresh_automaton().
Referenced by vcsn::detail::standard_operations< Aut >::left_mult_here(), and vcsn::detail::standard_operations< Aut >::zero_here().
|
inlinestatic |
Transform res into the (standard) empty automaton.
Definition at line 104 of file left-mult.hh.
References vcsn::detail::standard_operations< Aut >::zero_here().