public bool Equals(Transition <T> obj) { return(StateFrom.Equals(obj.StateFrom) & StateTo.Equals(obj.StateTo)); }