public bool Equals(Transition <A, S> other)
 {
     return(Origin.Id == other.Origin.Id &&
            Target.Id == other.Target.Id &&
            SymbolIn.Equals(other.SymbolIn) &&
            StackSymbolIn.Equals(other.StackSymbolIn) &&
            StackSymbolsWritten.SequenceEqual(other.StackSymbolsWritten));
 }
예제 #2
0
 public bool Equals(SDATransition <A, S> other)
 {
     return(SymbolIn.Equals(other.SymbolIn) &&
            StackSymbolIn.Equals(other.StackSymbolIn) &&
            StackSymbolsWritten.SequenceEqual(other.StackSymbolsWritten));
 }