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.Clients.OKB/3.3/RunCreation/EmptyProblem.cs

    r17226 r17695  
    2020#endregion
    2121
     22using HEAL.Attic;
    2223using HeuristicLab.Common;
    2324using HeuristicLab.Core;
    2425using HeuristicLab.Optimization;
    25 using HEAL.Attic;
    2626using HeuristicLab.PluginInfrastructure;
    2727
     
    3030  [StorableType("10132D57-7177-42A2-97B9-B77D89AADE6A")]
    3131  [NonDiscoverableType]
    32   public sealed class EmptyProblem : HeuristicOptimizationProblem<EmptyEvaluator, EmptySolutionCreator> {
     32  public sealed class EmptyProblem : HeuristicOptimizationProblem<EmptyEvaluator> {
    3333    public override bool CanChangeName {
    3434      get { return false; }
     
    4343    public EmptyProblem()
    4444      : base() {
    45       SolutionCreator = new EmptySolutionCreator();
    4645      Evaluator = new EmptyEvaluator();
    4746    }
    4847    public EmptyProblem(string exceptionMessage)
    4948      : base() {
    50       SolutionCreator = new EmptySolutionCreator(exceptionMessage);
    5149      Evaluator = new EmptyEvaluator(exceptionMessage);
    5250    }
Note: See TracChangeset for help on using the changeset viewer.