Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/05/10 13:31:55 (14 years ago)
Author:
mkommend
Message:

renamed ConstraintOperations (ticket #996)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core/3.3/Constraints/ComparisonConstraint.cs

    r3613 r3630  
    4444
    4545    public override IEnumerable<ConstraintOperation> AllowedConstraintOperations {
    46       get { return new ConstraintOperation[6] { ConstraintOperation.Lesser, ConstraintOperation.LesserOrEqual, ConstraintOperation.Equal, ConstraintOperation.GreaterOrEqual, ConstraintOperation.Greater, ConstraintOperation.NotEqual }; }
     46      get { return new ConstraintOperation[6] { ConstraintOperation.Less, ConstraintOperation.LessOrEqual, ConstraintOperation.Equal, ConstraintOperation.GreaterOrEqual, ConstraintOperation.Greater, ConstraintOperation.NotEqual }; }
    4747    }
    4848
     
    5757      int compareResult = comparableMember.CompareTo(this.ConstraintData);
    5858      bool result = false;
    59       if (this.ConstraintOperation == ConstraintOperation.Lesser)
     59      if (this.ConstraintOperation == ConstraintOperation.Less)
    6060        result = compareResult < 0;
    61       else if (this.ConstraintOperation == ConstraintOperation.LesserOrEqual)
     61      else if (this.ConstraintOperation == ConstraintOperation.LessOrEqual)
    6262        result = compareResult <= 0;
    6363      else if (this.ConstraintOperation == ConstraintOperation.Equal)
Note: See TracChangeset for help on using the changeset viewer.