Awali
Another Weighted Automata library
|
specialisation of history_base More...
#include <partition_history.hh>
Public Types | |
using | state_set_t = std::set< state_t > |
Public Member Functions | |
partition_history (const Autb &source) | |
void | add_state (state_t s, const state_set_t &set) |
set the history of state s More... | |
history_kind_t | get_nature () const override |
state_t | get_state (state_t) override |
unsupported method : use get_state_set More... | |
std::vector< state_t > | get_state_set (state_t s) override |
bool | has_history (state_t s) const override |
const std::map< state_t, state_set_t > & | origins () const |
map between states of the automaton and subsets of states of the source 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
Autb | the type of the source automaton |
This type is used to specify that the automaton 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 determinize, min_quotient, and related functions.
using awali::sttc::partition_history< Autb >::state_set_t = std::set<state_t> |
awali::sttc::partition_history< Autb >::partition_history | ( | const Autb & | source | ) |
void awali::sttc::partition_history< Autb >::add_state | ( | state_t | s, |
const state_set_t & | set | ||
) |
set the history of state s
|
overridevirtual |
Implements awali::sttc::history_base.
|
overridevirtual |
unsupported method : use get_state_set
runtime_error |
Implements awali::sttc::history_base.
|
overridevirtual |
Implements awali::sttc::history_base.
|
overridevirtual |
Implements awali::sttc::history_base.
const std::map<state_t, state_set_t>& awali::sttc::partition_history< Autb >::origins | ( | ) | const |
map between states of the automaton and subsets of states of the source
|
overridevirtual |
Implements awali::sttc::history_base.
|
overridevirtual |
Implements awali::sttc::history_base.