Method Run
Run(Automaton, String)
Returns true
if the given string is accepted by the automaton.
Complexity: linear in the length of the string.
Note: for full performance, use the RunAutomaton class.
Declaration
public static bool Run(Automaton a, string s)
Parameters
Type | Name | Description |
---|---|---|
Automaton | a | |
System.String | s |
Returns
Type | Description |
---|---|
System.Boolean |