Changeset 18086 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/MultiObjective/ShapeConstrainedRegressionMultiObjectiveProblem.cs
- Timestamp:
- 11/19/21 16:07:45 (3 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/MultiObjective/ShapeConstrainedRegressionMultiObjectiveProblem.cs
r18084 r18086 33 33 [StorableType("2956C66F-4B71-4A62-998F-B52C5E8C02CD")] 34 34 [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 150)] 35 public class ShapeConstrainedRegressionMultiObjectiveProblem : SymbolicDataAnalysisMultiObjectiveProblem<IRegressionProblemData, IMultiObjectiveConstraintsEvaluator , ISymbolicDataAnalysisSolutionCreator>, IRegressionProblem {35 public class ShapeConstrainedRegressionMultiObjectiveProblem : SymbolicDataAnalysisMultiObjectiveProblem<IRegressionProblemData, IMultiObjectiveConstraintsEvaluator>, IRegressionProblem { 36 36 private const double PunishmentFactor = 10; 37 37 private const int InitialMaximumTreeDepth = 8; … … 62 62 63 63 public ShapeConstrainedRegressionMultiObjectiveProblem() 64 : base(new ShapeConstrainedRegressionProblemData(), new NMSEMultiObjectiveConstraintsEvaluator() , new SymbolicDataAnalysisExpressionTreeCreator()) {64 : base(new ShapeConstrainedRegressionProblemData(), new NMSEMultiObjectiveConstraintsEvaluator()) { 65 65 66 66 Parameters.Add(new FixedValueParameter<DoubleLimit>(EstimationLimitsParameterName, EstimationLimitsParameterDescription)); … … 147 147 148 148 foreach (var op in Operators.OfType<ISolutionSimilarityCalculator>()) { 149 op.SolutionVariableName = SolutionCreator.SymbolicExpressionTreeParameter.ActualName; 149 //ToDo Change to encoding.name 150 //op.SolutionVariableName = SolutionCreator.SymbolicExpressionTreeParameter.ActualName; 150 151 op.QualityVariableName = Evaluator.QualitiesParameter.ActualName; 151 152
Note: See TracChangeset
for help on using the changeset viewer.