Method Union
Union(Automaton, Automaton)
Returns an automaton that accepts the union of the languages of the given automata.
Complexity: linear in number of states.
Declaration
public static Automaton Union(Automaton a1, Automaton a2)
Parameters
Type | Name | Description |
---|---|---|
Automaton | a1 | |
Automaton | a2 |
Returns
Type | Description |
---|---|
Automaton |
Union(ICollection<Automaton>)
Returns an automaton that accepts the union of the languages of the given automata.
Complexity: linear in number of states.
Declaration
public static Automaton Union(ICollection<Automaton> l)
Parameters
Type | Name | Description |
---|---|---|
ICollection<Automaton> | l |
Returns
Type | Description |
---|---|
Automaton |