|
template<class SymbolType , class StateType1 , class StateType2 > |
static automaton::NFA< SymbolType, ext::pair< StateType1, StateType2 > > | unification (const automaton::NFA< SymbolType, StateType1 > &first, const automaton::NFA< SymbolType, StateType2 > &second) |
|
template<class SymbolType , class StateType1 , class StateType2 > |
static automaton::DFA< SymbolType, ext::pair< StateType1, StateType2 > > | unification (const automaton::DFA< SymbolType, StateType1 > &first, const automaton::DFA< SymbolType, StateType2 > &second) |
|
Union of two finite automata. For finite automata A1, A2, we create a finite automaton A such that L(A) = L(A1) \cup L(A2). This method utilizes epsilon transitions in finite automata (Melichar: Jazyky a překlady, 2.71).