17 #ifndef DYN_MODULES_EVAL_HH
18 #define DYN_MODULES_EVAL_HH
An automaton_t is essentially a shared pointer to an abstract_automaton_t, but also contains static f...
Definition: automaton.hh:93
std::map< any_t, weight_t > enumerate(automaton_t aut, unsigned max)
Gives the weight associated with each word shorter than max by aut.
weight_t eval(automaton_t aut, any_t word)
Computes the weight associated with word by aut.
std::map< any_t, weight_t > shortest(automaton_t aut, unsigned max)
Gives the shortest , returns an empty map if no such word is shorter than max.
ATTRIBUTE_CONST int max(int a, int b)
Definition: arith.hh:54
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