Optional() public static method

Returns an automaton that accepts the union of the empty string and the language of the given automaton.
Complexity: linear in number of states.
public static Optional ( Fare.Automaton a ) : Fare.Automaton
a Fare.Automaton The automaton.
return Fare.Automaton
Exemplo n.º 1
0
 public Automaton Optional()
 {
     return(BasicOperations.Optional(this));
 }
Exemplo n.º 2
0
 internal Automaton Optional()
 {
     return(BasicOperations.Optional(this));
 }