Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/23/21 15:24:58 (4 years ago)
Author:
gkronber
Message:

#3073 code improvements after reintegration of branch

Location:
trunk/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter/IntervalArithBoundsEstimator.cs

    r17910 r17911  
    232232            for (var i = 1; i < currentInstr.nArguments; i++) {
    233233              var argumentInterval = Evaluate(instructions, ref instructionCounter, nodeIntervals, variableIntervals);
    234               result = Interval.AnalyticalQuotient(result, argumentInterval);
     234              result = Interval.AnalyticQuotient(result, argumentInterval);
    235235            }
    236236
  • trunk/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter/IntervalInterpreter.cs

    r17902 r17911  
    146146        throw new ArgumentNullException("No variablew ranges are present!", nameof(variableRanges));
    147147
    148       //Check if all variables used in the tree are present in the dataset
     148      // Check if all variables used in the tree are present in the dataset
    149149      foreach (var variable in tree.IterateNodesPrefix().OfType<VariableTreeNode>().Select(n => n.VariableName)
    150150                                   .Distinct())
     
    191191            break;
    192192          }
    193         //Elementary arithmetic rules
    194193        case OpCodes.Add: {
    195194            result = Evaluate(instructions, ref instructionCounter, nodeIntervals, variableIntervals);
     
    293292            for (var i = 1; i < currentInstr.nArguments; i++) {
    294293              var argumentInterval = Evaluate(instructions, ref instructionCounter, nodeIntervals, variableIntervals);
    295               result = Interval.AnalyticalQuotient(result, argumentInterval);
     294              result = Interval.AnalyticQuotient(result, argumentInterval);
    296295            }
    297296
Note: See TracChangeset for help on using the changeset viewer.