17 #ifndef DYN_MODULES_AUTOMATON_HH
18 #define DYN_MODULES_AUTOMATON_HH
20 #include <unordered_map>
An automaton_t is essentially a shared pointer to an abstract_automaton_t, but also contains static f...
Definition: automaton.hh:93
An options_t is a set of optional parameters that is passed on to called functions.
Definition: options.hh:86
Main class for representing rational expresson at the dynamical layer.
Definition: ratexp.hh:66
automaton_t right_mult(automaton_t aut, weight_t w, options_t opts={})
Produces an automaton that associates with every word the weight (x * w), where x is the weight assoc...
weightset_description weightset(const std::string &k)
automaton_t support(automaton_t aut, options_t opts={})
Computes the support of aut, that is the boolean automaton resulting from replacing any non-zero weig...
bool are_isomorphic(automaton_t aut1, automaton_t aut2)
Determines if two automata are isomorphic.
automaton_t left_mult(automaton_t aut, weight_t w, options_t opts={})
Produces an automaton that associates with every word the weight (w * x), where x is the weight assoc...
void change_alphabet(automaton_t aut, const std::string &alphabet)
Change the alphabet of the automaton.
automaton_t characteristic(automaton_t aut, std::string weightset, options_t opts={})
Computes the characteristic of aut over weightset.
void add_path(automaton_t aut, state_t p, state_t q, ratexp_t exp)
add a subautomaton realizing the series exp between states p and q of aut.
void change_int_alphabet(automaton_t aut, int a, int b)
Change the alphabet of the automaton.
unsigned state_t
Type representing automata states; currently simply identifiers of type unsigned, but this might chan...
Definition: typedefs.hh:28
automaton_t copy(automaton_t aut, options_t opts={})
Makes a deep copy of aut.
Main namespace of Awali.
Definition: ato.hh:22
Structure used to erase the type of labels/weights at the dyn layer.
Definition: any.hh:59