Пример #1
0
 public bool LessThan(IterationIn <S> that)
 {
     if (this.t <= that.t)
     {
         return(this.s.LessThan(that.s));
     }
     else
     {
         return(false);
     }
 }
Пример #2
0
        public int CompareTo(IterationIn <S> that)
        {
            var sCompare = this.s.CompareTo(that.s);

            if (sCompare != 0)
            {
                return(sCompare);
            }
            else
            {
                return(this.t - that.t);
            }
        }
Пример #3
0
 public IterationIn <S> Meet(IterationIn <S> that)
 {
     return(new IterationIn <S>(this.s.Meet(that.s), Math.Min(this.t, that.t)));
 }
Пример #4
0
 public IterationIn <S> Join(IterationIn <S> that)
 {
     return(new IterationIn <S>(this.s.Join(that.s), Math.Max(this.t, that.t)));
 }
Пример #5
0
 public bool Equals(IterationIn <S> that)
 {
     return(this.t == that.t && this.s.Equals(that.s));
 }