Changeset 17370 for branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective
- Timestamp:
- 11/25/19 13:39:43 (5 years ago)
- 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
r16924 r17370 94 94 if (!constraint.IsDerivation) { 95 95 var res = intervalInterpreter.GetSymbolicExpressionTreeInterval(solution, variableRanges); 96 if (!constraint.Interval.Contains(res, constraint.InclusiveLowerBound, 97 constraint.InclusiveUpperBound)) { 96 if (!constraint.Interval.Contains(res)) { 98 97 return true; 99 98 } … … 104 103 } 105 104 var res = intervalInterpreter.GetSymbolicExpressionTreeInterval(tree, variableRanges); 106 if (!constraint.Interval.Contains(res, constraint.InclusiveLowerBound, 107 constraint.InclusiveUpperBound)) { 105 if (!constraint.Interval.Contains(res)) { 108 106 return true; 109 107 } -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/SymbolicRegressionConstraintAnalyzer.cs
r16927 r17370 115 115 } 116 116 117 var satisfied = constraint.Interval.Contains(resultInterval , constraint.InclusiveLowerBound, constraint.InclusiveUpperBound);117 var satisfied = constraint.Interval.Contains(resultInterval); 118 118 return satisfied; 119 119 }
Note: See TracChangeset
for help on using the changeset viewer.