Changeset 16756 for branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective
- Timestamp:
- 04/04/19 13:15:58 (6 years ago)
- Location:
- branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/Evaluators/SymbolicRegressionSingleObjectiveConstraintConstOptEvaluator.cs
r16713 r16756 59 59 OnlineCalculatorError errorState = OnlineCalculatorError.None; 60 60 61 var constraints = IntervalConstraintsParser.Parse(((RegressionProblemData)problemData).IntervalConstraintsParameter.Value.Value); 61 //var constraints = IntervalConstraintsParser.Parse(((RegressionProblemData)problemData).IntervalConstraintsParameter.Value.Value); 62 var constraints = ((RegressionProblemData)problemData).IntervalConstraintsParameter.Value.Constraints; 62 63 var intervalInterpreter = new IntervalInterpreter(); 63 64 var variableRanges = ((RegressionProblemData)problemData).VariableRangesParameter.Value.VariableIntervals; -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/Evaluators/SymbolicRegressionSingleObjectiveConstraintPearsonRSquaredEvaluator.cs
r16713 r16756 59 59 OnlineCalculatorError errorState = OnlineCalculatorError.None; 60 60 61 var constraints = IntervalConstraintsParser.Parse(((RegressionProblemData)problemData).IntervalConstraintsParameter.Value.Value); 61 //var constraints = IntervalConstraintsParser.Parse(((RegressionProblemData)problemData).IntervalConstraintsParameter.Value.Value); 62 var constraints = ((RegressionProblemData)problemData).IntervalConstraintsParameter.Value.Constraints; 62 63 var intervalInterpreter = new IntervalInterpreter(); 63 64 var variableRanges = ((RegressionProblemData)problemData).VariableRangesParameter.Value.VariableIntervals; -
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/SymbolicRegressionConstraintAnalyzer.cs
r16747 r16756 87 87 static Dictionary<IntervalConstraint, bool> CheckConstraints(ISymbolicExpressionTree model, 88 88 IRegressionProblemData problemData) { 89 var constraints = IntervalConstraintsParser.Parse(((RegressionProblemData)problemData).IntervalConstraints.Value); 89 //var constraints = IntervalConstraintsParser.Parse(((RegressionProblemData)problemData).IntervalConstraints.Value); 90 var constraints = ((RegressionProblemData)problemData).IntervalConstraintsParameter.Value.Constraints; 90 91 var constraintViolations = new Dictionary<IntervalConstraint, bool>(); 91 92 var variableRanges = ((RegressionProblemData)problemData).VariableRanges.VariableIntervals; … … 147 148 var constraintViolations = new Dictionary<string, int>(); 148 149 149 var constraints = IntervalConstraintsParser.Parse(problemData.IntervalConstraints.Value); 150 //var constraints = IntervalConstraintsParser.Parse(problemData.IntervalConstraints.Value); 151 var constraints = problemData.IntervalConstraintsParameter.Value.Constraints; 150 152 151 153 if (dataTable.Rows.Count == 0) {
Note: See TracChangeset
for help on using the changeset viewer.