Free cookie consent management tool by TermsFeed Policy Generator

Changeset 17360


Ignore:
Timestamp:
11/20/19 15:33:50 (5 years ago)
Author:
abeham
Message:

#2521: fixed some unit tests

Location:
branches/2521_ProblemRefactoring
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding/Schedule.cs

    r17359 r17360  
    5555    [StorableConstructor]
    5656    protected Schedule(StorableConstructorFlag _) : base(_) { }
    57     private Schedule(Schedule original, Cloner cloner)
     57    protected Schedule(Schedule original, Cloner cloner)
    5858      : base(original, cloner) {
    5959      this.resources = cloner.Clone(original.Resources);
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.ExternalEvaluation/3.4/SingleObjectiveExternalEvaluationProblem.cs

    r17320 r17360  
    9393    public ExternalEvaluationProblem(TEncoding encoding)
    9494      : base(encoding) {
     95      MaximizationParameter.ReadOnly = false;
    9596      MaximizationParameter.Value = new BoolValue(); // is a read-only bool value in base class
     97      MaximizationParameter.ReadOnly = true;
    9698      Parameters.Add(new OptionalValueParameter<EvaluationCache>("Cache", "Cache of previously evaluated solutions."));
    9799      Parameters.Add(new ValueParameter<CheckedItemCollection<IEvaluationServiceClient>>("Clients", "The clients that are used to communicate with the external application.", new CheckedItemCollection<IEvaluationServiceClient>() { new EvaluationServiceClient() }));
Note: See TracChangeset for help on using the changeset viewer.