Changeset 17509 for branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4
- Timestamp:
- 04/14/20 12:00:47 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/InteractiveSymbolicDataAnalysisSolutionSimplifierView.cs
r17501 r17509 211 211 } 212 212 213 var regressionProblemData = Content.ProblemData as IRegressionProblemData; 214 if (regressionProblemData != null) { 215 var interpreter = new IntervalInterpreter(); 216 var variableRanges = regressionProblemData.VariableRanges.GetIntervals(); 217 IDictionary<ISymbolicExpressionTreeNode, Interval> intervals; 218 interpreter.GetSymbolicExpressionTreeIntervals(tree, variableRanges, out intervals); 219 foreach (var kvp in intervals) { 220 nodeIntervals[kvp.Key] = kvp.Value; 213 if (IntervalInterpreter.IsCompatible(tree)) { 214 var regressionProblemData = Content.ProblemData as IRegressionProblemData; 215 if (regressionProblemData != null) { 216 var interpreter = new IntervalInterpreter(); 217 var variableRanges = regressionProblemData.VariableRanges.GetIntervals(); 218 IDictionary<ISymbolicExpressionTreeNode, Interval> intervals; 219 interpreter.GetSymbolicExpressionTreeIntervals(tree, variableRanges, out intervals); 220 foreach (var kvp in intervals) { 221 nodeIntervals[kvp.Key] = kvp.Value; 222 } 221 223 } 222 224 }
Note: See TracChangeset
for help on using the changeset viewer.