Changeset 16780 for branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective
- Timestamp:
- 04/15/19 08:53:12 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/SymbolicRegressionConstraintAnalyzer.cs
r16773 r16780 87 87 public static Dictionary<IntervalConstraint, bool> CheckConstraints(ISymbolicExpressionTree model, 88 88 IRegressionProblemData problemData) { 89 var constraints = ((RegressionProblemData)problemData).IntervalConstraintsParameter.Value.Constraints ;89 var constraints = ((RegressionProblemData)problemData).IntervalConstraintsParameter.Value.Constraints.Where(x => x.IsChecked); 90 90 var constraintViolations = new Dictionary<IntervalConstraint, bool>(); 91 91 var variableRanges = ((RegressionProblemData)problemData).VariableRanges.VariableIntervals; … … 147 147 var constraintViolations = new Dictionary<string, int>(); 148 148 149 var constraints = problemData.IntervalConstraintsParameter.Value.Constraints ;149 var constraints = problemData.IntervalConstraintsParameter.Value.Constraints.Where(x => x.IsChecked); 150 150 151 151 if (dataTable.Rows.Count == 0) {
Note: See TracChangeset
for help on using the changeset viewer.