17 #ifndef DYN_MODULES_TRANSDUCER_HH
18 #define DYN_MODULES_TRANSDUCER_HH
38 const std::vector<std::string>& labels);
41 const std::vector<std::string>& labels);
44 const std::vector<std::string>& labels);
50 const std::vector<std::string>& labels);
53 const std::vector<std::string>& labels,
57 const std::vector<std::string>& labels,
63 const std::vector<std::string>& label);
65 const std::vector<std::string>& label);
67 const std::vector<std::string>& label);
70 const std::vector<std::string>& label);
77 const std::string& output);
An automaton_t is essentially a shared pointer to an abstract_automaton_t, but also contains static f...
Definition: automaton.hh:93
bool is_of_finite_image(automaton_t tdc, unsigned i=0)
transducer_t inverse(transducer_t tdc)
transducer_t synchronize(transducer_t tdc)
transducer_t images(transducer_t tdc)
Projects out the very first tape of the transducer.
transducer_t subnormalize(transducer_t tdc)
automaton_t letterize_tape(automaton_t tdc, unsigned i=1)
transducer_t compose(transducer_t tdc1, transducer_t tdc2)
automaton_t domain(transducer_t tdc)
Returns the automaton corresponding to the second tape of the transducer.
bool is_realtime(transducer_t tdc)
bool is_synchronizable(transducer_t tdc)
automaton_t image(transducer_t tdc)
Returns the automaton corresponding to the second tape of the transducer.
transducer_t realtime(transducer_t tdc)
std::vector< transition_t > tdc_in(automaton_t tdc, state_t s, const std::vector< std::string > &label)
bool has_tdc_transition(automaton_t tdc, state_t src, state_t dst, const std::vector< std::string > &labels)
bool has_output_label(automaton_t tdc, std::string const &l)
transition_t get_tdc_transition(automaton_t tdc, state_t src, state_t dst, const std::vector< std::string > &labels)
std::vector< std::string > get_tdc_label(automaton_t tdc, transition_t tr)
automaton_t lift_tdc(automaton_t tdc)
void set_final_output(automaton_t tdc, state_t src, const std::string &output)
std::vector< state_t > tdc_predecessors(automaton_t tdc, state_t s, const std::vector< std::string > &label)
bool has_input_label(automaton_t tdc, std::string const &l)
std::vector< transition_t > tdc_out(automaton_t tdc, state_t s, const std::vector< std::string > &label)
std::string get_final_output(automaton_t tdc, state_t src)
transition_t set_tdc_transition(automaton_t tdc, state_t src, state_t dst, const std::vector< std::string > &labels)
std::vector< char > output_alphabet(automaton_t tdc)
std::vector< std::vector< char > > alphabets(automaton_t tdc)
bool has_label(automaton_t tdc, unsigned i, std::string const &l)
void del_tdc_transition(automaton_t tdc, state_t src, state_t dst, const std::vector< std::string > &labels)
std::vector< char > input_alphabet(automaton_t tdc)
unsigned num_tapes(automaton_t tdc)
automaton_t make_nullable_under_lat(automaton_t tdc)
std::vector< state_t > tdc_successors(automaton_t tdc, state_t s, const std::vector< std::string > &label)
weight_t add_tdc_transition(automaton_t tdc, state_t src, state_t dst, const std::vector< std::string > &labels, weight_t w)
unsigned transition_t
Type representing automata transitions; currently simply identifiers of type unsigned,...
Definition: typedefs.hh:33
automaton_t projection(transducer_t tdc, unsigned i)
Projects tdc on the tape i.
bool is_functional(transducer_t tdc)
Tests whether tdc is functional.
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