Changeset 14237 for branches/symbreg-factors-2650/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SymbolicRegressionSolutionImpactValuesCalculator.cs
- Timestamp:
- 08/05/16 14:25:28 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/symbreg-factors-2650/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SymbolicRegressionSolutionImpactValuesCalculator.cs
r14232 r14237 62 62 63 63 double bestReplacementValue = 0.0; 64 double bestImpactValue = double. NegativeInfinity;64 double bestImpactValue = double.PositiveInfinity; 65 65 newQualityForImpactsCalculation = qualityForImpactsCalculation; // initialize 66 66 // try the potentially reasonable replacement values and use the best one … … 80 80 81 81 impactValue = qualityForImpactsCalculation - newQualityForImpactsCalculation; 82 if (impactValue >bestImpactValue) {82 if (impactValue < bestImpactValue) { 83 83 bestImpactValue = impactValue; 84 84 bestReplacementValue = repValue;
Note: See TracChangeset
for help on using the changeset viewer.