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.

Location:
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective
Files:
2 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          }
  • branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/SymbolicRegressionConstraintAnalyzer.cs

    r17504 r17506  
    105105      Interval resultInterval;
    106106
    107       if (!constraint.IsDerivation) {
     107      if (!constraint.IsDerivative) {
    108108        resultInterval = intervalInterpreter.GetSymbolicExpressionTreeInterval(solution, variableRanges);
    109109      } else {
    110110        var tree = solution;
    111         for (var i = 0; i < constraint.NumberOfDerivation; ++i) {
     111        for (var i = 0; i < constraint.NumberOfDerivations; ++i) {
    112112          tree = DerivativeCalculator.Derive(tree, constraint.Variable);
    113113        }
Note: See TracChangeset for help on using the changeset viewer.