Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/25/19 13:39:43 (5 years ago)
Author:
chaider
Message:

#2971 Removed the possibility of declaring open and closed intervals. All intervals are closed intervals now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/Evaluators/SymbolicRegressionSingleObjectiveConstraintConstOptEvaluator.cs

    r16924 r17370  
    9494        if (!constraint.IsDerivation) {
    9595          var res = intervalInterpreter.GetSymbolicExpressionTreeInterval(solution, variableRanges);
    96           if (!constraint.Interval.Contains(res, constraint.InclusiveLowerBound,
    97             constraint.InclusiveUpperBound)) {
     96          if (!constraint.Interval.Contains(res)) {
    9897            return true;
    9998          }
     
    104103          }
    105104          var res = intervalInterpreter.GetSymbolicExpressionTreeInterval(tree, variableRanges);
    106           if (!constraint.Interval.Contains(res, constraint.InclusiveLowerBound,
    107             constraint.InclusiveUpperBound)) {
     105          if (!constraint.Interval.Contains(res)) {
    108106            return true;
    109107          }
Note: See TracChangeset for help on using the changeset viewer.