Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/23/20 16:21:55 (4 years ago)
Author:
abeham
Message:

#2521:

  • Moving solution creator parameter from problems to algorithms (breaking wiring in some HeuristicOptimizationProblems)
  • Disallowing evaluator or encoding changes in encoding-specific base problems (to avoid confusion in derived problems whether this needs to be handled or not)
  • Added private set to ReferenceParameter property (serialization)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.GrammaticalEvolution/3.4/SymbolicRegression/GESymbolicRegressionSingleObjectiveProblem.cs

    r17226 r17695  
    2424
    2525using System.Linq;
     26using HEAL.Attic;
    2627using HeuristicLab.Common;
    2728using HeuristicLab.Core;
    28 using HeuristicLab.Encodings.IntegerVectorEncoding;
    2929using HeuristicLab.Parameters;
    30 using HEAL.Attic;
    3130using HeuristicLab.Problems.DataAnalysis;
    3231using HeuristicLab.Problems.DataAnalysis.Symbolic;
     
    3837  [StorableType("65208F51-3181-4765-BA04-33CADBCE0826")]
    3938  [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 180)]
    40   public class GESymbolicRegressionSingleObjectiveProblem : GESymbolicDataAnalysisSingleObjectiveProblem<IRegressionProblemData, IGESymbolicRegressionSingleObjectiveEvaluator, IIntegerVectorCreator>,
     39  public class GESymbolicRegressionSingleObjectiveProblem : GESymbolicDataAnalysisSingleObjectiveProblem<IRegressionProblemData, IGESymbolicRegressionSingleObjectiveEvaluator>,
    4140                                                            IRegressionProblem {
    4241    private const double PunishmentFactor = 10;
     
    6564
    6665    public GESymbolicRegressionSingleObjectiveProblem()
    67       : base(new RegressionProblemData(), new GESymbolicRegressionSingleObjectiveEvaluator(), new UniformRandomIntegerVectorCreator()) {
     66      : base(new RegressionProblemData(), new GESymbolicRegressionSingleObjectiveEvaluator()) {
    6867      Parameters.Add(new FixedValueParameter<DoubleLimit>(EstimationLimitsParameterName, EstimationLimitsParameterDescription));
    6968
Note: See TracChangeset for help on using the changeset viewer.