Awali
Another Weighted Automata library
|
specialisation of history_base More...
#include <single_history.hh>
Public Member Functions | |
single_history (const Autb &source) | |
void | add_state (state_t s, const state_t &sb) |
set the history of state s More... | |
history_kind_t | get_nature () const override |
state_t | get_state (state_t s) override |
std::vector< state_t > | get_state_set (state_t) override |
unsupported method : use get_state More... | |
bool | has_history (state_t s) const override |
const std::map< state_t, state_t > & | origins () const |
map between states and states of the source automaton 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 |
const history_base & | source_history () |
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
Autb | the type of the source automaton |
This type is used to specify that a state of the automaton correspond a state of the source automaton.
This type of history is filled in copy, in conversion functions an in functions that call copy before applying an in-place algorithm.
awali::sttc::single_history< Autb >::single_history | ( | const Autb & | source | ) |
void awali::sttc::single_history< Autb >::add_state | ( | state_t | s, |
const state_t & | sb | ||
) |
set the history of state s
|
overridevirtual |
Implements awali::sttc::history_base.
|
overridevirtual |
Implements awali::sttc::history_base.
|
overridevirtual |
|
overridevirtual |
Implements awali::sttc::history_base.
const std::map<state_t, state_t>& awali::sttc::single_history< Autb >::origins | ( | ) | const |
map between states and states of the source automaton
|
overridevirtual |
Implements awali::sttc::history_base.
|
overridevirtual |
Implements awali::sttc::history_base.
const history_base& awali::sttc::single_history< Autb >::source_history | ( | ) |