52 p_mark_table =
new char *[x];
55 p_mark_table[i] =
new char[i+1];
56 for (j=0; j < i+1; j++)
57 p_mark_table[i][j] =
'?';
66 for (i=0; i < p_x; i++)
67 delete [] p_mark_table[i];
68 delete [] p_mark_table;
79 for (i=0,new_name=0; i < p_x; i++)
85 state_map[i] = state_map[j];
88 if (state_map[i] == -1)
89 state_map[i] = new_name++;
92 num_new_states = new_name;
104 if (assumptions.
list(p).k == y)
109 if (assumptions.
list(p).k == z)
142 if (assumptions.
list(p).k == y)
145 for (q=b.
head(); q != 0; q=q->
next())
149 if (assumptions.
list(p).k == z)
152 for (q=b.
head(); q != 0; q=q->
next())
167 int x = assumptions.
list(p).k;
169 for (q=b.
head(); q != 0; q=q->
next())
void add_assumption(int y, int z, wfst_assumes &assumptions)
a call representing a weighted finite-state transducer
int equivalent_to(int y, int z, wfst_assumes &assumptions)
void undistinguish(int p, int q)
#define VAL_REGISTER_CLASS(NAME, CLASS)
EST_TList< EST_TKVI< K, V > > list
Linked list of key-val pairs. Don't use this as it will be made private in the future.
Templated Key-Value list. Objects of type EST_TKVL contain lists which are accessed by a key of type ...
int distinguished(int p, int q)
void mark_undistinguished(wfst_marks &marks, wfst_assumes &assumptions)
void append(const T &item)
add item onto end of list
int add_item(const K &rkey, const V &rval, int no_search=0)
add key-val pair to list
void find_state_map(EST_IVector &state_map, int &num_new_states)
void resize(int n, int set=1)
resize vector