Esempio n. 1
0
        public override PUC.Dependency.Comparison CompareGreaterThan(GreaterThanDependency d)
        {
            if (_isRef || d.IsReference)
            {
                return(Comparison.Disjoint);
            }

            if (State.Type.ValueSpace.CompareValues(d.Value, this.Value) == 0)
            {
                return(Comparison.Same);
            }

            return(Comparison.Overlap);
        }
Esempio n. 2
0
 public abstract Dependency.Comparison CompareGreaterThan(GreaterThanDependency d);
Esempio n. 3
0
 public override PUC.Dependency.Comparison CompareGreaterThan(GreaterThanDependency d)
 {
     return(d.CompareLessThan(this));
 }
Esempio n. 4
0
 public override PUC.Dependency.Comparison CompareGreaterThan(GreaterThanDependency d)
 {
     return(Dependency.Comparison.Disjoint);
 }
Esempio n. 5
0
        public override PUC.Dependency.Comparison CompareGreaterThan(GreaterThanDependency d)
        {
            System.Diagnostics.Debug.Assert(d.State == State);

            return(Dependency.Comparison.Overlap);
        }