Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/10/20 14:04:59 (5 years ago)
Author:
mkommend
Message:

#2971: Further minor refactorings and renaming of members.

File:
1 edited

Legend:

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

    r17504 r17506  
    9191        if (constraint.Variable != null && !variableRanges.ContainsKey(constraint.Variable))
    9292          throw new ArgumentException($"The given variable {constraint.Variable} in the constraint does not exists in the model.", nameof(IntervalConstraintsParser));
    93         if (!constraint.IsDerivation) {
     93        if (!constraint.IsDerivative) {
    9494          var res = intervalInterpreter.GetSymbolicExpressionTreeInterval(solution, variableRanges);
    9595          if (!constraint.Interval.Contains(res)) {
     
    9898        } else {
    9999          var tree = solution;
    100           for (var i = 0; i < constraint.NumberOfDerivation; ++i) {
     100          for (var i = 0; i < constraint.NumberOfDerivations; ++i) {
    101101            tree = DerivativeCalculator.Derive(tree, constraint.Variable);
    102102          }
Note: See TracChangeset for help on using the changeset viewer.