Awali
Another Weighted Automata library
|
specialisation of history_base More...
#include <ratexp_history.hh>
Public Types | |
using | ratexp_t = typename ratexpset_t::value_t |
using | ratexpset_t = RatExpSet |
Public Member Functions | |
ratexp_history (const ratexpset_t &rs) | |
void | add_state (state_t s, const ratexp_t &expr) |
set the history of state s More... | |
history_kind_t | get_nature () const override |
const ratexp_t & | get_ratexp (state_t s) |
state_t | get_state (state_t) override |
unsupported method : use get_ratexp More... | |
std::vector< state_t > | get_state_set (state_t) override |
unsupported method : use get_ratexp More... | |
bool | has_history (state_t s) const override |
const std::map< state_t, ratexp_t > & | origins () const |
map between states and rational expressions More... | |
std::ostream & | print_state_name (state_t s, std::ostream &o, const std::string &fmt) const override |
bool | remove_history (state_t s) override |
Public Member Functions inherited from awali::sttc::history_base | |
virtual | ~history_base () |
template<typename H > | |
H & | as () |
template<typename H > | |
H & | as () const |
virtual bool | has_history () const |
specialisation of history_base
RatExpSet | the context of rational expressions |
This type is used to specified that the states of the automaton correspond to rational expressions. has been built from a source automaton, and that states correspond to subsets of states of the source automaton.
This type of history is filled in derived_term.
using awali::sttc::ratexp_history< RatExpSet >::ratexp_t = typename ratexpset_t::value_t |
using awali::sttc::ratexp_history< RatExpSet >::ratexpset_t = RatExpSet |
awali::sttc::ratexp_history< RatExpSet >::ratexp_history | ( | const ratexpset_t & | rs | ) |
void awali::sttc::ratexp_history< RatExpSet >::add_state | ( | state_t | s, |
const ratexp_t & | expr | ||
) |
set the history of state s
|
overridevirtual |
Implements awali::sttc::history_base.
const ratexp_t& awali::sttc::ratexp_history< RatExpSet >::get_ratexp | ( | state_t | s | ) |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Implements awali::sttc::history_base.
const std::map<state_t, ratexp_t>& awali::sttc::ratexp_history< RatExpSet >::origins | ( | ) | const |
map between states and rational expressions
|
overridevirtual |
Implements awali::sttc::history_base.
|
overridevirtual |
Implements awali::sttc::history_base.