Run() public static method

Returns true if the given string is accepted by the automaton.
Complexity: linear in the length of the string. For full performance, use the RunAutomaton class.
public static Run ( Fare.Automaton a, string s ) : bool
a Fare.Automaton The automaton.
s string The string.
return bool
Exemplo n.º 1
0
 public bool Run(string s)
 {
     return(BasicOperations.Run(this, s));
 }
Exemplo n.º 2
0
 internal bool Run(string s)
 {
     return(BasicOperations.Run(this, s));
 }