00001
00008
00009
00010
00013
00014
00016 typedef State State;
00017
00019 typedef Transition Transition;
00020
00022 typedef TransitionIterator TransitionIterator;
00023
00024
00026
00027
00028
00029
00032
00033
00035 State create_state( TransducerHandle t );
00036
00038 State set_final_state( State s, TransducerHandle t, float w=0 );
00039
00040
00042
00043
00044
00045
00048
00049
00051 void define_transition( TransducerHandle t, State orig, KeyPair *p, State target, float w=0 );
00052
00054
00055
00056
00057
00058
00061
00062
00064 State get_initial_state( TransducerHandle t );
00065
00067 bool is_final_state( State s, TransducerHandle t );
00068
00072 float get_final_weight( State s, TransducerHandle t );
00073
00074
00076
00077
00078
00079
00082
00083
00085 KeyPair *get_transition_keypair( Transition tr );
00086
00088 State get_transition_to( Transition tr );
00089
00091 float get_transition_weight( Transition tr );
00092
00093
00095
00096
00097
00098
00099
00102
00103
00105 TransitionIterator begin_ti( TransducerHandle t, State s );
00106
00108 void next_ti( TransitionIterator &ti );
00109
00111 bool is_end_ti( TransitionIterator ti );
00112
00114 Transition get_ti_transition( TransitionIterator ti );
00115
00116
00117
00119 State set_marked_state( State s, TransducerHandle t );
00120
00121
00123 State unset_marked_state( State s, TransducerHandle t );
00124
00125
00127 bool is_marked( State s, TransducerHandle t );
00128
00129
00131
00132
00133
00134
00135
00136