Changeset 17774
- Timestamp:
- 10/09/20 23:18:52 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3076_IA_evaluators_analyzers/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/MultiObjective/SymbolicRegressionMultiObjectiveMultiSoftConstraintEvaluator.cs
r17769 r17774 197 197 198 198 var results = IntervalUtil.IntervalConstraintsViolation(constraints, estimator, intervalCollection, solution); 199 objectives.AddRange(results); 199 foreach (var result in results) { 200 if (double.IsNaN(result) || double.IsInfinity(result)) { 201 objectives.Add(double.MaxValue); 202 } else { 203 objectives.Add(result); 204 } 205 } 206 200 207 return objectives.ToArray(); 201 208 }
Note: See TracChangeset
for help on using the changeset viewer.