Lines Matching full:superstate
275 int superstate = (int)((i * hmm->num_states)*inv_y);/* /obs_info->obs_y; */
277 int index = (int)(hmm->u.ehmm[superstate].u.state - first_state);
281 int state = (int)((j * hmm->u.ehmm[superstate].num_states)* inv_x); /* / obs_info->obs_x; */
283 obs_info->state[2 * counter] = superstate;
315 //work inside every superstate
324 //calc distribution in superstate
332 //assign states to first row of superstate
344 //copy the same to other rows of superstate
915 int superstate, state;
919 superstate = info->state[2 * counter];
920 begin_ind = (int)(hmm->u.ehmm[superstate].u.state - first_state);
929 hmm->transP[superstate * transP_size + nextsuperstate] += 1;
934 int transP_size = hmm->u.ehmm[superstate].num_states;
937 hmm->u.ehmm[superstate].transP[ state * transP_size + nextstate] += 1;
942 /* estimate superstate matrix */
1338 int superstate = super_q[i];
1339 int state = (int)(hmm->u.ehmm[superstate].u.state - first_state);
1341 obs_info->state[2 * counter] = superstate;
1342 obs_info->state[2 * counter + 1] = state + q[superstate][i][j];