Changeset 17911 for trunk/HeuristicLab.Problems.DataAnalysis.Symbolic
- Timestamp:
- 03/23/21 15:24:58 (4 years ago)
- 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 232 232 for (var i = 1; i < currentInstr.nArguments; i++) { 233 233 var argumentInterval = Evaluate(instructions, ref instructionCounter, nodeIntervals, variableIntervals); 234 result = Interval.Analytic alQuotient(result, argumentInterval);234 result = Interval.AnalyticQuotient(result, argumentInterval); 235 235 } 236 236 -
trunk/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter/IntervalInterpreter.cs
r17902 r17911 146 146 throw new ArgumentNullException("No variablew ranges are present!", nameof(variableRanges)); 147 147 148 // Check if all variables used in the tree are present in the dataset148 // Check if all variables used in the tree are present in the dataset 149 149 foreach (var variable in tree.IterateNodesPrefix().OfType<VariableTreeNode>().Select(n => n.VariableName) 150 150 .Distinct()) … … 191 191 break; 192 192 } 193 //Elementary arithmetic rules194 193 case OpCodes.Add: { 195 194 result = Evaluate(instructions, ref instructionCounter, nodeIntervals, variableIntervals); … … 293 292 for (var i = 1; i < currentInstr.nArguments; i++) { 294 293 var argumentInterval = Evaluate(instructions, ref instructionCounter, nodeIntervals, variableIntervals); 295 result = Interval.Analytic alQuotient(result, argumentInterval);294 result = Interval.AnalyticQuotient(result, argumentInterval); 296 295 } 297 296
Note: See TracChangeset
for help on using the changeset viewer.