22 #ifndef DYN_TRANSDUCER_HH
23 #define DYN_TRANSDUCER_HH
46 const std::vector<std::string>& labels);
49 const std::vector<std::string>& labels);
52 const std::vector<std::string>& labels);
55 const std::vector<std::string>& labels,
weight_t w);
58 const std::vector<std::string>& labels);
61 const std::vector<std::string>& labels,
weight_t w);
64 const std::vector<std::string>& labels);
67 const std::vector<std::string>& label);
70 const std::vector<std::string>& label);
73 const std::vector<std::string>& label);
76 const std::vector<std::string>& label);
An automaton_t is essentially a shared pointer to an abstract_automaton_t, but also contains static f...
Definition: automaton.hh:93
weightset_description weightset(const std::string &k)
std::ostream & json(automaton_t aut, std::ostream &out)
unsigned transition_t
Type representing automata transitions; currently simply identifiers of type unsigned,...
Definition: typedefs.hh:33
unsigned state_t
Type representing automata states; currently simply identifiers of type unsigned, but this might chan...
Definition: typedefs.hh:28
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
Definition: transducer.hh:30
void del_transition(state_t src, state_t dst, const std::vector< std::string > &labels)
transition_t set_transition(state_t src, state_t dst, const std::vector< std::string > &labels)
std::vector< transition_t > out(state_t s, const std::vector< std::string > &label)
transducer_t(std::istream &json)
transition_t get_transition(state_t src, state_t dst, const std::vector< std::string > &labels)
transition_t set_transition(state_t src, state_t dst, const std::vector< std::string > &labels, weight_t w)
bool has_transition(state_t src, state_t dst, const std::vector< std::string > &labels)
static transducer_t from(std::vector< std::string > alphabets, std::string weightset="B")
weight_t add_transition(state_t src, state_t dst, const std::vector< std::string > &labels)
std::vector< transition_t > in(state_t s, const std::vector< std::string > &label)
std::vector< state_t > predecessors(state_t s, const std::vector< std::string > &label)
transducer_t(const automaton_t &a)
std::vector< state_t > successors(state_t s, const std::vector< std::string > &label)
weight_t add_transition(state_t src, state_t dst, const std::vector< std::string > &labels, weight_t w)
std::vector< std::string > label_of(transition_t tr)
std::vector< std::vector< char > > alphabets()