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.DataAnalysis.Trading/3.4/Symbolic/SingleObjective/Problem.cs

    r17226 r17695  
    2020#endregion
    2121
     22using HEAL.Attic;
    2223using HeuristicLab.Common;
    2324using HeuristicLab.Core;
    24 using HEAL.Attic;
    2525using HeuristicLab.Problems.DataAnalysis.Symbolic;
    2626
     
    2929  [StorableType("4E1FFD34-5720-4578-8D9E-AF657E157109")]
    3030  [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 150)]
    31   public class SingleObjectiveProblem : SymbolicDataAnalysisSingleObjectiveProblem<IProblemData, ISingleObjectiveEvaluator, ISymbolicDataAnalysisSolutionCreator>, IProblem {
     31  public class SingleObjectiveProblem : SymbolicDataAnalysisSingleObjectiveProblem<IProblemData, ISingleObjectiveEvaluator>, IProblem {
    3232    private const int InitialMaximumTreeDepth = 8;
    3333    private const int InitialMaximumTreeLength = 25;
     
    3939
    4040    public SingleObjectiveProblem()
    41       : base(new ProblemData(), new SharpeRatioEvaluator(), new SymbolicDataAnalysisExpressionTreeCreator()) {
     41      : base(new ProblemData(), new SharpeRatioEvaluator()) {
    4242      Maximization.Value = true;
    4343      MaximumSymbolicExpressionTreeDepth.Value = InitialMaximumTreeDepth;
Note: See TracChangeset for help on using the changeset viewer.