Changeset 17906 for trunk/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/ShapeConstraintsAnalyzer.cs
- Timestamp:
- 03/16/21 15:26:50 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/ShapeConstraintsAnalyzer.cs
r17903 r17906 31 31 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Regression { 32 32 [StorableType("4318C6BD-E0A1-45FE-AC30-96E7F73B51FB")] 33 [Item("Shape -constraints analyser", "Analyzes the number of shape-constraint violations of symbolic regression models.")]33 [Item("ShapeConstraintsAnalyzer", "Analyzes the number of shape-constraint violations of symbolic regression models.")] 34 34 public class ShapeConstraintsAnalyzer : SymbolicDataAnalysisAnalyzer, ISymbolicExpressionTreeAnalyzer { 35 35 private const string ProblemDataParameterName = "ProblemData"; … … 106 106 var estimator = new IntervalArithBoundsEstimator(); 107 107 108 if ( constraintViolationsTable.Rows.Any())108 if (!constraintViolationsTable.Rows.Any()) 109 109 foreach (var constraint in constraints) 110 110 constraintViolationsTable.Rows.Add(new DataRow(constraint.ToString()));
Note: See TracChangeset
for help on using the changeset viewer.