Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/19/20 09:59:57 (4 years ago)
Author:
abeham
Message:

#2521: Reverse behavior, parameters are not readonly by default, can be readonly if computed automatically

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.Binary/3.3/OneMaxProblem.cs

    r17544 r17545  
    2525using HeuristicLab.Common;
    2626using HeuristicLab.Core;
    27 using HeuristicLab.Data;
    2827using HeuristicLab.Encodings.BinaryVectorEncoding;
    2928using HeuristicLab.Optimization;
     
    3736    public OneMaxProblem() : base() {
    3837      Maximization = true;
    39       DimensionRefParameter.ForceValue(new IntValue(10, @readonly: false));
     38      Dimension = 10;
    4039      BestKnownQuality = Dimension;
    4140    }
Note: See TracChangeset for help on using the changeset viewer.