Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/19/21 16:07:45 (3 years ago)
Author:
mkommend
Message:

#2521: Merged trunk changes into branch.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/MultiObjective/ShapeConstrainedRegressionMultiObjectiveProblem.cs

    r18084 r18086  
    3333  [StorableType("2956C66F-4B71-4A62-998F-B52C5E8C02CD")]
    3434  [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 150)]
    35   public class ShapeConstrainedRegressionMultiObjectiveProblem : SymbolicDataAnalysisMultiObjectiveProblem<IRegressionProblemData, IMultiObjectiveConstraintsEvaluator, ISymbolicDataAnalysisSolutionCreator>, IRegressionProblem {
     35  public class ShapeConstrainedRegressionMultiObjectiveProblem : SymbolicDataAnalysisMultiObjectiveProblem<IRegressionProblemData, IMultiObjectiveConstraintsEvaluator>, IRegressionProblem {
    3636    private const double PunishmentFactor = 10;
    3737    private const int InitialMaximumTreeDepth = 8;
     
    6262
    6363    public ShapeConstrainedRegressionMultiObjectiveProblem()
    64       : base(new ShapeConstrainedRegressionProblemData(), new NMSEMultiObjectiveConstraintsEvaluator(), new SymbolicDataAnalysisExpressionTreeCreator()) {
     64      : base(new ShapeConstrainedRegressionProblemData(), new NMSEMultiObjectiveConstraintsEvaluator()) {
    6565
    6666      Parameters.Add(new FixedValueParameter<DoubleLimit>(EstimationLimitsParameterName, EstimationLimitsParameterDescription));
     
    147147
    148148      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;
    150151        op.QualityVariableName = Evaluator.QualitiesParameter.ActualName;
    151152
Note: See TracChangeset for help on using the changeset viewer.