2p/srclib/minimiza.c
/**
    __find_min_state (private function)
    Input:
        row *min_dfa: minimum automata table (states already discovered)
        size_t min_states: number of states in min_dfa
        size_t delta: original index of state in dfa table

    Returns:
        Index of delta state in min_dfa table.

    Advanced description:
        It searches for the state in min_dfa table that contains the state
        with index delta from the original table.
*/
find_min_state (private function)
Input:
row *min_dfa: minimum automata table (states already discovered)
size_t min_states: number of states in min_dfa
size_t delta: original index of state in dfa table

Index of delta state in min_dfa table.

Advanced description:
It searches for the state in min_dfa table that contains the state
with index delta from the original table.
find_min_state ( private function ) Input : row * min_dfa : minimum automata table ( states already discovered ) size_t min_states : number of states in min_dfa size_t delta : original index of state in dfa table Index of delta state in min_dfa table . Advanced description : It searches for the state in min_dfa table that contains the state with index delta from the original table .
size_t __find_min_state(row *min_dfa, size_t min_states, size_t delta){
    for (size_t i = 0; i < min_states; i++) {
        uint8_t *states = cstate_get_states(min_dfa[i].state_from);
        if (states[delta]){
            return i;
        }
    }
    return -1;
}
size_t __find_min_state ( row * min_dfa , size_t min_states , size_t delta ) { for ( size_t i = 0 ; i < min_states ; i ++ ) { uint8_t * states = cstate_get_states ( min_dfa [ i ] . state_from ) ; if ( states [ delta ] ) { return i ; } } return -1 ; }
__find_min_state (private function)
Input:
row *min_dfa: minimum automata table (states already discovered)
size_t min_states: number of states in min_dfa
size_t delta: original index of state in dfa table
__find_min_state ( private function ) Input : row * min_dfa : minimum automata table ( states already discovered ) size_t min_states : number of states in min_dfa size_t delta : original index of state in dfa table
// for each state in min_states
 // if delta in states[i]
